behaviac.Sequence node = new behaviac.Sequence(); node.SetClassNameString("MySequenceNode");
behaviac.BehaviorTree tree = new behaviac.BehaviorTree(); behaviac.Sequence node = new behaviac.Sequence(); node.SetClassNameString("MySequenceNode"); tree.AddChild(node);In this example, a new behavior tree is created using the behaviac.BehaviorTree class. Then, a new sequence node is created using the behaviac.Sequence class. The SetClassNameString method is called to set the class name string for this node as "MySequenceNode". Finally, the node is added as a child to the behavior tree using the AddChild method. Package/Library: The Sequence SetClassNameString method is provided by the behaviac framework.