示例#1
0
        private void OnDestroy()
        {
            m_FixedUpdates.Clear();
            m_LateUpdates.Clear();
            m_FixedUpdates.Clear();

            sm_Handler = null;
        }
示例#2
0
        private static UpdateRunner GetRunner()
        {
            if (sm_Handler == null)
            {
                sm_Handler = DontDestroyUtility.CreateComponent <UpdateRunner>(NAME);
            }

            return(sm_Handler);
        }