Ejemplo n.º 1
0
 void OnDisable()
 {
     if (InControlManager.Instance == this)
     {
         InputManager.ResetInternal();
     }
 }
Ejemplo n.º 2
0
 void OnDisable()
 {
     if (!isBeingDestroyed)
     {
         InputManager.ResetInternal();
     }
 }
Ejemplo n.º 3
0
 private void OnDisable()
 {
     SceneManager.sceneLoaded -= OnSceneWasLoaded;
     if (SingletonMonoBehavior <InControlManager, MonoBehaviour> .Instance == this)
     {
         InputManager.ResetInternal();
     }
 }
Ejemplo n.º 4
0
 void OnDisable()
 {
     if (IsNotTheSingleton)
     {
         return;
     }
                 #if UNITY_5_4_OR_NEWER
     SceneManager.sceneLoaded -= OnSceneWasLoaded;
                 #endif
     InputManager.ResetInternal();
 }
Ejemplo n.º 5
0
        void OnDisable()
        {
#if UNITY_5_4_OR_NEWER
            SceneManager.sceneLoaded -= OnSceneWasLoaded;
#endif

            if (InControlManager.Instance == this)
            {
                InputManager.ResetInternal();
            }
        }
Ejemplo n.º 6
0
 void OnDisable()
 {
     //SaveManager.Instance.SetValue(SaveManager.LastInputDevice, InputManager.ActiveDevice.Name);
     //SaveManager.Instance.Save();
     InputManager.ResetInternal();
 }
Ejemplo n.º 7
0
 void OnDisable()
 {
     InputManager.ResetInternal();
 }