public static void OnStart() { CustomInput.RunCoroutine(CheckForGamepads()); }
static bool GetButton(int button, int gamepad) { return(CustomInput.GetKey((KeyCode)(firstJoyButton + (gamepad * InputBinding.MAX_JOYSTICK_BUTTONS) + button))); }
protected override Vector2 GetMousePos(int controller) { return(new Vector2(CustomInput.GetAxis(_MouseX), CustomInput.GetAxis(_MouseY))); }