C# 클래스 GlobalSoundsScript, WaitingForHorus

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

공개 프로퍼티들

프로퍼티 타입 설명
ChatMessageSound UnityEngine.AudioSource
PlayMusicInEditor bool
ServerMessageSound AudioSource
buttonPressSound AudioSource
songs AudioClip[]
soundEnabled bool

공개 메소드들

메소드 설명
Awake ( ) : void
OnDestroy ( ) : void
OnLevelWasLoaded ( int levelIndex ) : void
PlayButtonPress ( ) : void
PlayChatMessageSound ( ) : void
PlayServerMessageSound ( ) : void
RestartAudio ( ) : void
Start ( ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
ReceiveMusicOptionChanged ( bool isEnabled ) : void
ReceiveSoundEffectsOptionChanged ( bool isEnabled ) : void

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

OnDestroy() 공개 메소드

public OnDestroy ( ) : void
리턴 void

OnLevelWasLoaded() 공개 메소드

public OnLevelWasLoaded ( int levelIndex ) : void
levelIndex int
리턴 void

PlayButtonPress() 공개 정적인 메소드

public static PlayButtonPress ( ) : void
리턴 void

PlayChatMessageSound() 공개 정적인 메소드

public static PlayChatMessageSound ( ) : void
리턴 void

PlayServerMessageSound() 공개 정적인 메소드

public static PlayServerMessageSound ( ) : void
리턴 void

RestartAudio() 공개 메소드

public RestartAudio ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

ChatMessageSound 공개적으로 프로퍼티

public AudioSource,UnityEngine ChatMessageSound
리턴 UnityEngine.AudioSource

PlayMusicInEditor 공개적으로 프로퍼티

public bool PlayMusicInEditor
리턴 bool

ServerMessageSound 공개적으로 프로퍼티

public AudioSource ServerMessageSound
리턴 AudioSource

buttonPressSound 공개적으로 프로퍼티

public AudioSource buttonPressSound
리턴 AudioSource

songs 공개적으로 프로퍼티

public AudioClip[] songs
리턴 AudioClip[]

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

public static bool soundEnabled
리턴 bool