public void OpenUpgradeMenu() { upgradeMenuOpened = true; PauseGame(); Upgrade[] upgrades = us.GetUpgrades(2); um.displayUpgradeMenu(upgrades); }