private void OnDestroy() { InvokeCommon <OnDestroyMethodAttribute>(); Destroy?.Invoke(); s_instance = null; }
public static Coroutine StartCoroutine <T>(this T _, IEnumerator coroutine) => CommonMonoBehaviour.StartCoroutine(coroutine);
private void Awake() { s_instance = this; InvokeCommon <AwakeMethodAttribute>(); }