Esempio n. 1
0
 public void SetTimeFactor(float timeFactor)
 {
     this.timeFactor = timeFactor;
     // Update all of the time factors for objects already within the trigger.
     foreach (KeyValuePair <TimeFactors, int> pair in indices)
     {
         TimeFactors tf    = pair.Key;
         int         index = pair.Value;
         tf.Set(index, timeFactor);
     }
 }