(client) feat:实现行为树条件节点的实际功能
This commit is contained in:
@ -17,6 +17,7 @@ namespace Utils
|
||||
if (behaviorTreeDef == null)
|
||||
return null;
|
||||
var aiBase = CreateAIBaseInstance(behaviorTreeDef.className);
|
||||
aiBase.Init(behaviorTreeDef);
|
||||
if (behaviorTreeDef.childTree != null)
|
||||
{
|
||||
foreach (var child in behaviorTreeDef.childTree)
|
||||
|
Reference in New Issue
Block a user