Свойство | Тип | Описание | |
---|---|---|---|
crateCollisionTimer | |||
heartColor | string | ||
hitDamage | double | ||
timeInterval | int |
Метод | Описание | |
---|---|---|
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 | |
Результат | void |
public OnCollisionExit ( Collision col ) : void | ||
col | Collision | |
Результат | void |
public OnTriggerEnter ( Collider col ) : void | ||
col | Collider | |
Результат | void |
public decreaseHealth ( double amount, GameObject gameObject ) : void | ||
amount | double | |
gameObject | GameObject | |
Результат | void |
public Timer,System.Timers crateCollisionTimer | ||
Результат |