public void CloseUpgradesMenu(string name)
 {
     SceneManager.UnloadSceneAsync(name);
     SpaceUIManager.pauseSpaceScene   = false;
     SpaceUIManager.upgradeMenuClosed = true;
     SpaceUIManager.EnableDisableSpaceUI("enable");
 }
 public void OpenUpgradesMenu(string name)
 {
     SpaceUIManager.pauseSpaceScene = true;
     SpaceUIManager.EnableDisableSpaceUI("disable");
     SceneManager.LoadScene(name, LoadSceneMode.Additive);
 }