Beispiel #1
0
 void GetTempValues(TempGaugeSetValues values)
 {
     freezeTemp    = values.setFreezeTemp;
     burnTemp      = values.setBurnTemp;
     minTemp       = values.setMinTemp;
     maxTemp       = values.setMaxTemp;
     nextTouchRate = values.setNextTouchRate;
 }
Beispiel #2
0
 public void AssignTemperatureValues()
 {
     if (this.gameObject.GetComponent <TempGaugeSetValues>() == null)
     {
         getValues = this.gameObject.AddComponent <TempGaugeSetValues>();
     }
     else
     {
         getValues = this.gameObject.GetComponent <TempGaugeSetValues>();
     }
     getValues.SetValues();
     GetTempValues(getValues);
 }