示例#1
0
 public void TimeSlow(bool starting)
 {
     if (timeSlowed == starting)
     {
         return;
     }
     bgm.TimeSlow(starting);
     timeSlowed    = starting;
     source.clip   = starting ? slowDownSound : speedUpSound;
     source.volume = timeSlowVolume;
     source.Play();
 }