C# Class SpikeTrap, Castle-Bashers

Inheritance: MonoBehaviour
Mostra file Open project: DevelopersGuild/Castle-Bashers Class Usage Examples

Public Properties

Property Type Description
delayTime float
spike GameObject

Public Methods

Method Description
OnTriggerEnter ( Collider col ) : void
Update ( ) : void

Method Details

OnTriggerEnter() public method

public OnTriggerEnter ( Collider col ) : void
col Collider
return void

Update() public method

public Update ( ) : void
return void

Property Details

delayTime public_oe property

public float delayTime
return float

spike public_oe property

public GameObject spike
return GameObject