private void Awake() { instance = instance ?? this; dayTextMeshProGui = dayText.GetComponent <TextMeshProUGUI>(); moneyTextMeshProGui = moneyText.GetComponent <TextMeshProUGUI>(); timerTextMeshProGui = timer.GetComponent <TextMeshProUGUI>(); }
private void Start() { instance = instance ?? this; //fuel uIFuelCounter.fuelMaxSize = RocketStats.instance.MaxFuelCapacity; }