/// <summary> /// 获取需要数量的linkItem /// </summary> private void OnStepActive() { linkPool.ForEach(linkItem => { linkItem.StepActive(); linkItem.onConnected += TryComplete; }); }
/// <summary> /// 获取需要数量的linkItem /// </summary> private void OnStepActive() { linkPool.ForEach(linkItem => { linkItem.StepActive(); linkItem.RegistOnConnected(TryComplete); }); }
public override void OnUnDoExecute() { base.OnUnDoExecute(); if (coroutine != null) { StopCoroutine(coroutine); coroutine = null; } supportPool.ForEach(ele => { elementCtrl.UnLockElement(ele, this); }); finalGroup = null; elementCtrl.ClearExtraCreated(); }