Свойство | Type | Description | |
---|---|---|---|
deathSound | |||
deathSoundVolume | float | ||
gameOver | bool | ||
waitForEndMenu | float |
Méthode | Description | |
---|---|---|
KillPlayer ( GameObject player, DeathCause cause ) : void | ||
PlayerDeath ( int playerNum, DeathCause cause ) : void | ||
RandomPlayerCameraReassign ( GameObject fromObject ) : void |
Méthode | Description | |
---|---|---|
Start ( ) : void | ||
Update ( ) : void |
public static KillPlayer ( GameObject player, DeathCause cause ) : void | ||
player | GameObject | |
cause | DeathCause | |
Résultat | void |
public static PlayerDeath ( int playerNum, DeathCause cause ) : void | ||
playerNum | int | |
cause | DeathCause | |
Résultat | void |
public static RandomPlayerCameraReassign ( GameObject fromObject ) : void | ||
fromObject | GameObject | |
Résultat | void |
public AudioClip,UnityEngine deathSound | ||
Résultat |