Example #1
0
	public BehaviorGroupDrawer(BehaviorTreeWindow behaviorTreeWindow, BehaviorNodeDrawer parentNode, EditorRegionDecoratorNode childNode, BehaviorNodeDrawer childNodeDrawer)
	{
		this._behaviorTreeWindow = behaviorTreeWindow;

		_parentNode = parentNode;
		_childNode = childNode;
		_childNodeDrawer = childNodeDrawer;

		_label = childNode.label;

		_isExpanded = childNode.startExpanded;
	}
Example #2
0
		public BehaviorGroupDrawer(BehaviorNodeDrawer parentNode, EditorRegionDecoratorNode childNode, BehaviorNodeDrawer childNodeDrawer)
		{
			_parentNode = parentNode;
			_childNode = childNode;
			_childNodeDrawer = childNodeDrawer;

			_label = childNode.label;

			_isExpanded = childNode.startExpanded;
		}