void Start() { crewGauge = FindObjectOfType(typeof(CrewGauge)) as CrewGauge; fuelGauge = FindObjectOfType(typeof(FuelGauge)) as FuelGauge; energyGauge = FindObjectOfType(typeof(EnergyGauge)) as EnergyGauge; // player ship playerShip = Instantiate(playerShipPrefab) as SolarSystemPlayerShip; }