glider rotates and new cursor

This commit is contained in:
Melbyj1125
2022-05-01 00:02:51 -05:00
parent b9045356d4
commit 8e3dfdb9c2
17 changed files with 783 additions and 30 deletions

View File

@@ -79,7 +79,7 @@ public class PauseMenu : NetworkBehaviour {
void Update() {
// Listen for Pause button and not already paused
// TODO: UPDATE TO ALSO LISTEN FOR CONTROLLER PAUSE BUTTON PRESSED
if (isUsable && Input.GetKeyDown(KeyCode.Escape) && PauseMenuPanel.activeInHierarchy != true) {
if (isUsable && (Input.GetKeyDown(KeyCode.Escape) || Input.GetKeyDown(KeyCode.JoystickButton0)) && PauseMenuPanel.activeInHierarchy != true) {
GameObject[] players = GameObject.FindGameObjectsWithTag("Player");
foreach(GameObject player in players){