C# Class BoltCollection, gmap377_leathGloves_inc

Inheritance: MonoBehaviour
Mostra 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_oe property

public float BoltIncreaseAmount
return float

Range public_oe property

public float Range
return float

TargetLayer public_oe property

public LayerMask TargetLayer
return LayerMask