예제 #1
0
 /// <summary>
 /// 获取需要数量的linkItem
 /// </summary>
 private void OnStepActive()
 {
     linkPool.ForEach(linkItem =>
     {
         linkItem.StepActive();
         linkItem.onConnected += TryComplete;
     });
 }
예제 #2
0
 /// <summary>
 /// 获取需要数量的linkItem
 /// </summary>
 private void OnStepActive()
 {
     linkPool.ForEach(linkItem =>
     {
         linkItem.StepActive();
         linkItem.RegistOnConnected(TryComplete);
     });
 }
예제 #3
0
        public override void OnUnDoExecute()
        {
            base.OnUnDoExecute();

            if (coroutine != null)
            {
                StopCoroutine(coroutine);
                coroutine = null;
            }

            supportPool.ForEach(ele =>
            {
                elementCtrl.UnLockElement(ele, this);
            });

            finalGroup = null;

            elementCtrl.ClearExtraCreated();
        }