private void MoveToNextUpdateFunc() { ++mCurrentIndex; if (mCurrentIndex >= mNodeList.Count) { mTotalSchedule = 1.0f; mCurrentNode = null; if (OnExecuteContainerEndEvent.InvokeGracefully()) { OnExecuteContainerEndEvent = null; } } else { mCurrentNode = mNodeList[mCurrentIndex]; if (mCurrentIndex == 0) { OnExecuteContainerBeginEvent.InvokeGracefully(); } OnExecuteTipsEvent.InvokeGracefully(mCurrentNode.Tips); } }
public void Append(ProcessNode node) { if (null == mSequenceNode) { mSequenceNode = new SequenceNode(); } mSequenceNode.Append(node); }
public void Append(ProcessNode item) { if (mNodeList == null) { mNodeList = new List <ProcessNode>(); mCurrentIndex = -1; } mNodeList.Add(item); }