Example #1
0
 public void ReSetAll()
 {
     _roleDate.hfYZ(10000);
     GetComponent <GameBody>().isAcing = false;
     HuixueTX.Stop();
     //_theTimer.StopAllCoroutines();
     //结束
     isStarting       = false;
     JishiNums        = 0;
     ChiXuZongShijian = 0;
     IsStartHuixue    = false;
 }
Example #2
0
 void GetOver()
 {
     print("ys over!!");
     isStart        = false;
     _isShowTX      = false;
     _isOutDistance = false;
     _isSpeedStart  = false;
     _roleDate.hfYZ(addYZNum);
     GetComponent <TheTimer>().ReSet();
     _gameBody._isHasAtkTX = false;
     _gameBody.IsJiasu     = false;
     TempDis = 0;
     if (YanChen)
     {
         YanChen.Stop();
     }
     _XZtimes          = 0;
     jishiNums         = 0;
     _gameBody.isAcing = false;
     _gameBody.SetV0();
     //print("一闪结束!!!!!!!!!");
     //if(DBBody) DBBody.RemoveDBEventListener(DragonBones.EventObject.FRAME_EVENT, this.ShowACTX);
     //DBBody = null;
 }