protected override void OnReset() { if (null != mNode) { mNode.Reset(); } mCurRepeatCount = 0; Completed = false; }
protected override void OnReset() { if (null != _executeNode) { _executeNode.Reset(); } _curRepeatCount = 0; _completed = false; }
public static IEnumerator Execute(this IExecuteNode selfNode) { if (selfNode.Finished) { selfNode.Reset(); } while (!selfNode.Execute(Time.deltaTime)) { yield return(null); } }