Свойство | Type | Description | |
---|---|---|---|
currentHealth | int | ||
sinkSpeed | float | ||
startingHealth | int |
Méthode | Description | |
---|---|---|
Awake ( ) : void | ||
OnCollisionEnter ( Collision o ) : void | ||
StartSinking ( ) : void | ||
Update ( ) : void |
public OnCollisionEnter ( Collision o ) : void | ||
o | Collision | |
Résultat | void |