Beispiel #1
0
 public void Configure(NonRenewablePowerPlant powerPlant)
 {
     trackedPlant            = powerPlant;
     ConsumptionSlider.value = powerPlant.ConsumptionRate * SLIDER_STEPS;
     UpdateConsumptionText();
 }
Beispiel #2
0
 private void OnDestroy()
 {
     trackedPlant = null;
 }