示例#1
0
 private void OnSubCommondComplate(CommandNode command)
 {
     m_RuntimeCurrentNode = command.nextCommand;
     if (m_RuntimeCurrentNode == null)
     {
         FinishCommand();
     }
     else
     {
         m_RuntimeCurrentNode.Start();
     }
 }
示例#2
0
 public override void Start()
 {
     if (m_FirstCommand != null)
     {
         m_RuntimeCurrentNode = m_FirstCommand;
         m_RuntimeCurrentNode.Start();
     }
     else
     {
         FinishCommand();
     }
 }