Exemplo n.º 1
0
 public rush_stay(float anim_time, float stay_time, Transform transform, GameObject traget, Vector2 oriPos, BasicDelegate.withNone callback) : base(anim_time)
 {
     this.transform = transform;
     this.animTime  = anim_time;
     this.stayTime  = stay_time;
     nowTraget      = traget;
     this.oriPos    = oriPos;
     onTriggerEff   = callback;
 }
Exemplo 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);
     }
 }