public static void MMEventStopListening <EventType>(this MMEventListener <EventType> caller) where EventType : struct { MMEventManager.RemoveListener <EventType>(caller); }
public static void Trigger(AudioClip clipToPlay) { e.ClipToPlay = clipToPlay; MMEventManager.TriggerEvent(e); }
public static void Trigger(string newName) { e.EventName = newName; MMEventManager.TriggerEvent(e); }