示例#1
0
 internal static void ResetInternal()
 {
     if (InputManager.OnReset != null)
     {
         InputManager.OnReset();
     }
     InputManager.OnSetup  = null;
     InputManager.OnUpdate = null;
     InputManager.OnReset  = null;
     InputManager.OnActiveDeviceChanged = null;
     InputManager.OnDeviceAttached      = null;
     InputManager.OnDeviceDetached      = null;
     InputManager.OnUpdateDevices       = null;
     InputManager.OnCommitDevices       = null;
     DestroyDeviceManagers();
     DestroyDevices();
     playerActionSets.Clear();
     IsSetup = false;
 }