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