/// <summary> /// Note: All buttons considered are for Xbox 360 controller /// </summary> //inputs for player 1 void GetInputsPlayer1() { //if P1 presses A, goes to character selection screen and signals the GameManager that this player is active if (Input.GetKeyDown(KeyCode.Joystick1Button0)) { CSM.NumPlayers++; SelectScreen.SetActive(true); gameObject.SetActive(false); } //if P1 presses B, goes back to menu if (Input.GetKeyDown(KeyCode.Joystick1Button1)) { CSM.BackToMenu(); } }