void Restart() { ESS.SetMass(initEarthScale); earthMass = ESS.EarthMass; inittime = Time.time; spawnProb = startSpawnProb; runtime = inittime; FailText.canvasRenderer.SetAlpha(0f); ec.Unlock(); CoolTime.text = "_"; EarthMassNumber.text = (Mathf.Round(earthMass * 1000f) / 1000f).ToString(); asts.despawnAll(); }