Property | Type | Description | |
---|---|---|---|
BoltIncreaseAmount | float | ||
Range | float | ||
TargetLayer | LayerMask |
Method | Description | |
---|---|---|
OnTriggerEnter ( Collider player ) : void |
When the bolt is collected, add the specified amount to the bolt count.
|
|
Update ( ) : void | ||
moveTowardsPlayer ( Transform player ) : void |
public OnTriggerEnter ( Collider player ) : void | ||
player | Collider | |
return | void |
public moveTowardsPlayer ( Transform player ) : void | ||
player | Transform | |
return | void |