public static void RemoveListenerByTag <T>(string tag) { OneParamEventWrapper <T> .RemoveByTag(tag); }
public static void Dispatch <T>(T msg) where T : class, new() { OneParamEventWrapper <T> .Dispatch(msg); }
public static void RemoveListener <T>(Action <T> callback) { OneParamEventWrapper <T> .RemoveListener(callback); }
public static void AddListener <T>(Action <T> callback, bool once = false, string tag = null) { var eventType = typeof(T).Name; OneParamEventWrapper <T> .AddListener(callback, once, tag); }