public BehaviourTreeEditorNode(BehaviourTree tree, BehaviourTreeNode node, BehaviourTreeEditorPresenter presenter) { TreeAsset = tree; TreeNode = node; Presenter = presenter; Position = TreeNode.EditorPosition; Size = new Vector3(NodeWidth, NodeHeight); WindowTitle = GUIContent.none; WindowStyle = SpaceEditorStyles.GraphNodeBackground; }