示例#1
0
 public static bool GetExit()
 {
     if (inputType == InputType.Controller)
     {
         return(ControllerInputManager.GetBackButton());
     }
     else if (inputType == InputType.KeyboardMouse)
     {
         return(Input.GetKeyDown(KeyCode.Q));
     }
     else
     {
         return(false);
     }
 }