C# Class DeathController, Viewport

Inheritance: MonoBehaviour
Afficher le fichier Open project: tws2xa/Viewport Class Usage Examples

Méthodes publiques

Свойство Type Description
deathSound UnityEngine.AudioClip
deathSoundVolume float
gameOver bool
waitForEndMenu float

Méthodes publiques

Méthode Description
KillPlayer ( GameObject player, DeathCause cause ) : void
PlayerDeath ( int playerNum, DeathCause cause ) : void
RandomPlayerCameraReassign ( GameObject fromObject ) : void

Private Methods

Méthode Description
Start ( ) : void
Update ( ) : void

Method Details

KillPlayer() public static méthode

public static KillPlayer ( GameObject player, DeathCause cause ) : void
player GameObject
cause DeathCause
Résultat void

PlayerDeath() public static méthode

public static PlayerDeath ( int playerNum, DeathCause cause ) : void
playerNum int
cause DeathCause
Résultat void

RandomPlayerCameraReassign() public static méthode

public static RandomPlayerCameraReassign ( GameObject fromObject ) : void
fromObject GameObject
Résultat void

Property Details

deathSound public_oe property

public AudioClip,UnityEngine deathSound
Résultat UnityEngine.AudioClip

deathSoundVolume public_oe property

public float deathSoundVolume
Résultat float

gameOver public_oe static_oe property

public static bool gameOver
Résultat bool

waitForEndMenu public_oe static_oe property

public static float waitForEndMenu
Résultat float