예제 #1
0
 /// <summary>
 /// Slider value is constantly changing due to the Update method. To distunguish changes due to user
 /// input we check the value versus the current time
 /// </summary>
 public void SliderChanged()
 {
     if (Mathf.Abs(slider.value - timeLast) > 1E-3)
     {
         ge.SetPhysicalTime(slider.value);
     }
 }