private void OnSubCommondComplate(CommandNode command) { m_RuntimeCurrentNode = command.nextCommand; if (m_RuntimeCurrentNode == null) { FinishCommand(); } else { m_RuntimeCurrentNode.Start(); } }
public override void Start() { if (m_FirstCommand != null) { m_RuntimeCurrentNode = m_FirstCommand; m_RuntimeCurrentNode.Start(); } else { FinishCommand(); } }