C# Class BoltCollection, gmap377_leathGloves_inc

Inheritance: MonoBehaviour
Afficher le fichier Open project: bi3mer/gmap377_leathGloves_inc

Méthodes publiques

Свойство Type Description
BoltIncreaseAmount float
Range float
TargetLayer LayerMask

Méthodes publiques

Méthode Description
OnTriggerEnter ( Collider player ) : void

When the bolt is collected, add the specified amount to the bolt count.

Update ( ) : void
moveTowardsPlayer ( Transform player ) : void

Method Details

OnTriggerEnter() public méthode

When the bolt is collected, add the specified amount to the bolt count.
public OnTriggerEnter ( Collider player ) : void
player Collider
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

moveTowardsPlayer() public méthode

public moveTowardsPlayer ( Transform player ) : void
player Transform
Résultat void

Property Details

BoltIncreaseAmount public_oe property

public float BoltIncreaseAmount
Résultat float

Range public_oe property

public float Range
Résultat float

TargetLayer public_oe property

public LayerMask TargetLayer
Résultat LayerMask