private void Start() { shipRb = GetComponent <Rigidbody2D>(); shipLanding = FindObjectOfType <ShipLanding>(); satelliteController = FindObjectOfType <SatelliteController>(); gameManager = FindObjectOfType <GameManager>(); volumeManager = FindObjectOfType <VolumeManager>(); throttleUI.SetMaxValue(maxThrottle); remainingFuel = maxFuel; previousFuel = remainingFuel; }
private void Start() { shipLanding = FindObjectOfType <ShipLanding>(); shipController = FindObjectOfType <ShipController>(); }