using TNodeCore.Attribute; using TNodeCore.Editor.Serialization; using TNodeCore.Models; using TNodeGraphViewImpl.Editor.NodeViews; using UnityEditor; using UnityEditor.Experimental.GraphView; using UnityEditor.Graphs; using UnityEditor.UIElements; using UnityEngine; using UnityEngine.UIElements; namespace TNode.Editor.NodeViews{ [ViewComponent] public class DragBaseNodeView:BaseNodeView{ public DragBaseNodeView() : base(){ this.titleContainer.visible = false; this.titleContainer.RemoveFromHierarchy(); this.OnDataChanged += OnDataChangedHandler; } private void OnDataChangedHandler(BlackboardDragNodeData obj){ var port = this.Q(); var label = port.Q