Beispiel #1
0
 void ITicker.Reset()
 {
     if (_RunninTicker != null)
     {
         _RunninTicker.Reset();
         _RunninTicker = null;
     }
     _Queue.Clear();
 }
        protected override Regulus.BehaviourTree.ITicker _Launch()
        {
            foreach (var visible in _FieldOfVision.ToList())
            {
                _ClearIndividual(visible);
            }
            _FieldOfVision.Clear();

            _Entiry.GetVisible().StatusEvent += _OnStatus;

            _Entiry.InjuredEvent             += _OnInjured;
            _Entiry.CollideTargets.JoinEvent += _HaveCollide;

            _Bind();

            _Node.Reset();
            return(_Node);
        }
Beispiel #3
0
 public void Reset()
 {
     _ticker.Reset();
 }
Beispiel #4
0
 void ITicker.Reset()
 {
     _Ticker.Reset();
 }
Beispiel #5
0
 public void Reset()
 {
     _Child.Reset();
     _Result = TICKRESULT.RUNNING;
 }