private void OnDestroy() { m_FixedUpdates.Clear(); m_LateUpdates.Clear(); m_FixedUpdates.Clear(); sm_Handler = null; }
private static UpdateRunner GetRunner() { if (sm_Handler == null) { sm_Handler = DontDestroyUtility.CreateComponent <UpdateRunner>(NAME); } return(sm_Handler); }