C# Class GlobalSoundsScript, WaitingForHorus

Inheritance: MonoBehaviour
ファイルを表示 Open project: merveilles/WaitingForHorus Class Usage Examples

Public Properties

Property Type Description
ChatMessageSound UnityEngine.AudioSource
PlayMusicInEditor bool
ServerMessageSound AudioSource
buttonPressSound AudioSource
songs AudioClip[]
soundEnabled bool

Public Methods

Method Description
Awake ( ) : void
OnDestroy ( ) : void
OnLevelWasLoaded ( int levelIndex ) : void
PlayButtonPress ( ) : void
PlayChatMessageSound ( ) : void
PlayServerMessageSound ( ) : void
RestartAudio ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
ReceiveMusicOptionChanged ( bool isEnabled ) : void
ReceiveSoundEffectsOptionChanged ( bool isEnabled ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnLevelWasLoaded() public method

public OnLevelWasLoaded ( int levelIndex ) : void
levelIndex int
return void

PlayButtonPress() public static method

public static PlayButtonPress ( ) : void
return void

PlayChatMessageSound() public static method

public static PlayChatMessageSound ( ) : void
return void

PlayServerMessageSound() public static method

public static PlayServerMessageSound ( ) : void
return void

RestartAudio() public method

public RestartAudio ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

ChatMessageSound public_oe property

public AudioSource,UnityEngine ChatMessageSound
return UnityEngine.AudioSource

PlayMusicInEditor public_oe property

public bool PlayMusicInEditor
return bool

ServerMessageSound public_oe property

public AudioSource ServerMessageSound
return AudioSource

buttonPressSound public_oe property

public AudioSource buttonPressSound
return AudioSource

songs public_oe property

public AudioClip[] songs
return AudioClip[]

soundEnabled public_oe static_oe property

public static bool soundEnabled
return bool