Esempio n. 1
0
 public static bool GetStart()
 {
     if (inputType == InputType.Controller)
     {
         return(ControllerInputManager.GetStartButton());
     }
     else if (inputType == InputType.KeyboardMouse)
     {
         return(Input.GetKeyDown(KeyCode.Return));
     }
     else
     {
         return(false);
     }
 }