C# Class BoltCollection, gmap377_leathGloves_inc

Inheritance: MonoBehaviour
Show file Open project: bi3mer/gmap377_leathGloves_inc

Public Properties

Property Type Description
BoltIncreaseAmount float
Range float
TargetLayer LayerMask

Public Methods

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

Method Details

OnTriggerEnter() public method

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

Update() public method

public Update ( ) : void
return void

moveTowardsPlayer() public method

public moveTowardsPlayer ( Transform player ) : void
player Transform
return void

Property Details

BoltIncreaseAmount public property

public float BoltIncreaseAmount
return float

Range public property

public float Range
return float

TargetLayer public property

public LayerMask TargetLayer
return LayerMask