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