C# 클래스 DeathController, Viewport

상속: MonoBehaviour
파일 보기 프로젝트 열기: tws2xa/Viewport 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
deathSound UnityEngine.AudioClip
deathSoundVolume float
gameOver bool
waitForEndMenu float

공개 메소드들

메소드 설명
KillPlayer ( GameObject player, DeathCause cause ) : void
PlayerDeath ( int playerNum, DeathCause cause ) : void
RandomPlayerCameraReassign ( GameObject fromObject ) : void

비공개 메소드들

메소드 설명
Start ( ) : void
Update ( ) : void

메소드 상세

KillPlayer() 공개 정적인 메소드

public static KillPlayer ( GameObject player, DeathCause cause ) : void
player GameObject
cause DeathCause
리턴 void

PlayerDeath() 공개 정적인 메소드

public static PlayerDeath ( int playerNum, DeathCause cause ) : void
playerNum int
cause DeathCause
리턴 void

RandomPlayerCameraReassign() 공개 정적인 메소드

public static RandomPlayerCameraReassign ( GameObject fromObject ) : void
fromObject GameObject
리턴 void

프로퍼티 상세

deathSound 공개적으로 프로퍼티

public AudioClip,UnityEngine deathSound
리턴 UnityEngine.AudioClip

deathSoundVolume 공개적으로 프로퍼티

public float deathSoundVolume
리턴 float

gameOver 공개적으로 정적으로 프로퍼티

public static bool gameOver
리턴 bool

waitForEndMenu 공개적으로 정적으로 프로퍼티

public static float waitForEndMenu
리턴 float