Esempio n. 1
0
 private void OnDisable()
 {
     // When we disable, we just unregister our axis
     // It also happens before the game object is Destroyed
     CnInputManager.UnregisterVirtualAxis(HorizontalAxis);
     CnInputManager.UnregisterVirtualAxis(VerticalAxis);
 }