Beispiel #1
0
 public static void PlaySoundNotify(string n, GameObject ob, Fabric.OnEventNotify notify)
 {
     TryLoadFabric();
     if (FabricLoaded)
     {
         playAudioWithPositionNotify(n, ob, notify);
         isPlaying = true;
     }
 }
Beispiel #2
0
 private static void playAudioWithPositionNotify(string eventName, GameObject ob, Fabric.OnEventNotify notify)
 {
     //AUDIO: with position and a callback
     Fabric.EventManager.Instance.PostEventNotify(eventName, ob, notify);
 }