private void sendToVars() { statusScreen.sendToVars(); if (Vars.planetType.isColonized()) { market.buyMarket.sendToVars(); } }
public void landOnPlanet(PlanetType planetType) { gamePaused = true; shieldsPool.clearPool(); Vars.enemyShipsPool.Clear(); UserInterface.showInterface = false; statusScreen.sendToVars(); Vars.planetType = planetType; ExplosionsManager.clear(); LootDropper.clearContainers(); SceneManager.LoadScene("PlanetSurface"); }