Example #1
0
 public void ReSetAll()
 {
     IsGoInAtkPoint = false;
     IsGetAtkPot    = false;
     fireTimes      = 0;
     theFireTimes   = 0;
     IsGoInAtkPoint = false;
     IsShoting      = false;
     _aiAirRunNear.ResetAll();
 }
Example #2
0
    //到达目的地后 攻击动作
    //是否有攻击动作
    //攻击动作 是否 去掉 moveNear  到目标点 直接攻击  不再寻找位置



    public void ReSetAll()
    {
        chosePos     = new Vector2(1000, 1000);
        IsStartMove  = false;
        IsOver       = true;
        IsShowing    = false;
        IsYinSheng   = false;
        IsStartAtkAC = false;

        if (_yinshen)
        {
            _yinshen.ReSetAll();
        }
        if (_aiRunNear)
        {
            _aiRunNear.ResetAll();
        }
    }