C# Class GlobalSoundsScript, WaitingForHorus

Inheritance: MonoBehaviour
Afficher le fichier Open project: merveilles/WaitingForHorus Class Usage Examples

Méthodes publiques

Свойство Type Description
ChatMessageSound UnityEngine.AudioSource
PlayMusicInEditor bool
ServerMessageSound AudioSource
buttonPressSound AudioSource
songs AudioClip[]
soundEnabled bool

Méthodes publiques

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

Private Methods

Méthode Description
ReceiveMusicOptionChanged ( bool isEnabled ) : void
ReceiveSoundEffectsOptionChanged ( bool isEnabled ) : void

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

OnDestroy() public méthode

public OnDestroy ( ) : void
Résultat void

OnLevelWasLoaded() public méthode

public OnLevelWasLoaded ( int levelIndex ) : void
levelIndex int
Résultat void

PlayButtonPress() public static méthode

public static PlayButtonPress ( ) : void
Résultat void

PlayChatMessageSound() public static méthode

public static PlayChatMessageSound ( ) : void
Résultat void

PlayServerMessageSound() public static méthode

public static PlayServerMessageSound ( ) : void
Résultat void

RestartAudio() public méthode

public RestartAudio ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

ChatMessageSound public_oe property

public AudioSource,UnityEngine ChatMessageSound
Résultat UnityEngine.AudioSource

PlayMusicInEditor public_oe property

public bool PlayMusicInEditor
Résultat bool

ServerMessageSound public_oe property

public AudioSource ServerMessageSound
Résultat AudioSource

buttonPressSound public_oe property

public AudioSource buttonPressSound
Résultat AudioSource

songs public_oe property

public AudioClip[] songs
Résultat AudioClip[]

soundEnabled public_oe static_oe property

public static bool soundEnabled
Résultat bool