Beispiel #1
0
 public void ToggleFF()
 {
     if (toggleFastForward.isOn)
     {
         Time.timeScale = UI.GetFFTime();
     }
     else
     {
         Time.timeScale = 1;
     }
 }
Beispiel #2
0
        public void ToggleFF()
        {
            if (FPSControl.IsOn())
            {
                return;
            }

            if (toggleFastForward.isOn)
            {
                Time.timeScale = UI.GetFFTime();
            }
            else
            {
                Time.timeScale = 1;
            }
        }