示例#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();
        }