mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-08-26 20:34:22 -05:00
glider rotates and new cursor
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user