unity/如何创建自己的自定义的行为树/How to Create your Behavour Tree

How to Create your Behavour Tree

1.Create a C# Script

2.in C#Script you should using two namespace
(1) using BehaviorDesigner.Runtime;
(2) using BehaviorDesigner.Runtime.Tasks;

3.where Task you want , where inherit you should use
for exam i want my BehavourTree which name is yftest3 in Task/Action

public class yftest3: Action
{

}

Open your C# Script you can see the Code like this:

unity/如何创建自己的自定义的行为树/How to Create your Behavour TreeCongratulations! ^^!

we successfully Create a BehaviorTree in Taks/Action

How can We see that?

unity/如何创建自己的自定义的行为树/How to Create your Behavour Tree
Now You Can Building your Code in this.