コード例 #1
0
 private void Awake()
 {
     instance            = instance ?? this;
     dayTextMeshProGui   = dayText.GetComponent <TextMeshProUGUI>();
     moneyTextMeshProGui = moneyText.GetComponent <TextMeshProUGUI>();
     timerTextMeshProGui = timer.GetComponent <TextMeshProUGUI>();
 }
コード例 #2
0
 private void Start()
 {
     instance = instance ?? this;
     //fuel
     uIFuelCounter.fuelMaxSize = RocketStats.instance.MaxFuelCapacity;
 }