public static void dispatch(this MonoBehaviour go, LeanEvent eventEnum, object data) { LeanTween.dispatchEvent((int)eventEnum, data); }
public static void Add(this MonoBehaviour go, LeanEvent eventEnum, System.Action callback) { LeanTween.addListener(go.gameObject, (int)eventEnum, e => callback()); }