示例#1
0
        void OnDisable()
// ReSharper restore UnusedMember.Local
        {
#if DEBUG
            if (DebugMode)
            {
                Debug.Log("GuiInspector disabled");
            }
#endif
            TurnOff();

            _instance = null;
            SystemManager.Instance.DisposingSignal.Disconnect(DisposingSlot);
        }
示例#2
0
 private void DisposingSlot(object[] parameters)
 {
     _instance = null;
     TurnOff();
 }
示例#3
0
        void OnDisable()
// ReSharper restore UnusedMember.Local
        {
#if DEBUG
            if (DebugMode)
                Debug.Log("GuiInspector disabled");
#endif
            TurnOff();

            _instance = null;
            SystemManager.Instance.DisposingSignal.Disconnect(DisposingSlot);
        }
示例#4
0
 private void DisposingSlot(object[] parameters)
 {
     _instance = null;
     TurnOff();
 }