Exemple #1
0
 void Start()
 {
     for (int i = 0; i < _startSounds.Length; i++)
     {
         GameSounds.PostMusicEvent(_startSounds[i]);
     }
 }
Exemple #2
0
 void OnDestroy()
 {
     for (int i = 0; i < _startSounds.Length; i++)
     {
         GameSounds.PostMusicEvent(_startSounds[i], Fabric.EventAction.StopSound);
     }
 }