Property | Type | Description | |
---|---|---|---|
currentHealth | int | ||
sinkSpeed | float | ||
startingHealth | int |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
OnCollisionEnter ( Collision o ) : void | ||
StartSinking ( ) : void | ||
Update ( ) : void |
public OnCollisionEnter ( Collision o ) : void | ||
o | Collision | |
return | void |