Kaynağa Gözat

增加两个节点配置

tanghai 11 yıl önce
ebeveyn
işleme
7a95a0d0c6

+ 2 - 0
CSharp/App/Modules/BehaviorTreeModule/NodeType.cs

@@ -5,6 +5,7 @@
         Selector = 1,
         Selector = 1,
         Sequence = 2,
         Sequence = 2,
         Not = 10,
         Not = 10,
+        Weight = 11,
 
 
         // condition节点 10000开始
         // condition节点 10000开始
         SelectTarget = 10000,
         SelectTarget = 10000,
@@ -19,6 +20,7 @@
         // action节点 20000开始
         // action节点 20000开始
         CastSpell = 20000,
         CastSpell = 20000,
         Chase = 20001,
         Chase = 20001,
+        Empty = 20002,
         Patrol = 20003,
         Patrol = 20003,
         Idle = 20004,
         Idle = 20004,
         CloseTarget = 20008,
         CloseTarget = 20008,