Property | Type | Description | |
---|---|---|---|
crateCollisionTimer | |||
heartColor | string | ||
hitDamage | double | ||
timeInterval | int |
Method | Description | |
---|---|---|
OnCollisionEnter ( Collision col ) : void | ||
OnCollisionExit ( Collision col ) : void | ||
OnTriggerEnter ( Collider col ) : void | ||
Start ( ) : void | ||
Update ( ) : void | ||
decreaseHealth ( double amount, GameObject gameObject ) : void |
public OnCollisionEnter ( Collision col ) : void | ||
col | Collision | |
return | void |
public OnCollisionExit ( Collision col ) : void | ||
col | Collision | |
return | void |
public OnTriggerEnter ( Collider col ) : void | ||
col | Collider | |
return | void |
public decreaseHealth ( double amount, GameObject gameObject ) : void | ||
amount | double | |
gameObject | GameObject | |
return | void |
public Timer,System.Timers crateCollisionTimer | ||
return |