/// <summary> /// 顺序节点测试 /// </summary> private void SequenceNodeText() { SequenceNode sequenceNode = new SequenceNode(); sequenceNode.AddChild(move); sequenceNode.AddChild(idel); Debug.Log("顺序节点执行结果为:" + sequenceNode.DoAction()); }