Unity graph tool solution based on different implementation now focused on Unity.Experimental.Graphview
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using TNode.Attribute;
|
|
|
|
|
using TNode.Editor.BaseViews;
|
|
|
|
|
using TNode.Models;
|
|
|
|
|
|
|
|
|
|
namespace TNode.Editor.NodeViews{
|
|
|
|
|
[NodeComponent]
|
|
|
|
|
public class DragNodeView<T>:NodeView<BlackboardDragNodeData<T>>{
|
|
|
|
|
public DragNodeView() : base(){
|
|
|
|
|
//Make capsule like style
|
|
|
|
|
|
|
|
|
|
this.titleContainer.visible = false;
|
|
|
|
|
this.titleContainer.RemoveFromHierarchy();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|