示例#1
0
 private void StartBooster(float value, float time)
 {
     if (_booster.coroutine != null)
     {
         StopBooster(_booster);
     }
     _booster.value = value;
     _booster.time  = time;
     _mover.AddSpeed(value);
     _booster.coroutine = StartCoroutine(WaitAndReduceSpeed(_booster));
 }