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