public HierarchyNodeTree(NodeComponent node, int depth) : base(node.GetHashCode(), depth, node.GetRichName()) { this.node = node; }
public static HierarchyFlowTree CreateFlowTree(NodeComponent owner, string fieldName, MemberData member, string displayName) { var tree = new HierarchyFlowTree(owner, member, uNodeEditorUtility.GetUIDFromString($"{owner.GetHashCode()}:F={fieldName}"), -1, displayName) { icon = uNodeEditorUtility.GetTypeIcon(typeof(TypeIcons.FlowIcon)) as Texture2D }; return(tree); }