// Ship reboot cooldown IEnumerator PowerOn(float time) { Debug.Log("Power On in " + time + " seconds..."); yield return(new WaitForSeconds(time)); if (thrusters) { thrusters.Activate(); } if (boosters) { boosters.Activate(); } if (boosters && assistModule) { assistModule.Activate(); } if (quantumDrive) { quantumDrive.Activate(); } if (fuelTank) { fuelTank.Activate(); } landingGear.Activate(); lights.Activate(); speedometer.enabled = true; powered = true; Debug.Log("Ship Power On; All connected modules online"); }