FluentBehaviourTree.BehaviourTreeBuilder.Build C# (CSharp) Method

Build() public method

Build the actual tree.
public Build ( ) : IBehaviourTreeNode
return IBehaviourTreeNode
        public IBehaviourTreeNode Build()
        {
            if (curNode == null)
            {
                throw new ApplicationException("Can't create a behaviour tree with zero nodes");
            }
            return curNode;
        }