Esempio n. 1
0
 public void rushUpdate(float time)
 {
     rush_main.update(time);
     if (rush_main.Waste)
     {
         rush_main = null;
         Timer.main.loginOutTimer(rushUpdate);
     }
     // Debug.Log("移除rushUpdate");
 }
Esempio n. 2
0
 public bool rushMainStart(float animTime, float stayTime, GameObject traget, BasicDelegate.withNone callback)
 {
     if (rush_main != null)
     {
         return(false);
     }
     else
     {
         rush_main = new rush_stay(animTime, stayTime, transform, traget, oriPos, callback);
         Timer.main.logInTimer(rushUpdate);
         return(true);
     }
 }