using System; using TNode.Cache; using TNode.Editor.Inspector.InspectorImplementation; using Unity.VisualScripting; using UnityEditor; using UnityEngine; using UnityEngine.UIElements; namespace TNode.Editor.Inspector{ public class InspectorItemFactory{ public InspectorItem Create(){ //Check type of GraphDataType var hasSpecificType = NodeEditorExtensions.HasSpecificType>(); Debug.Log(typeof(InspectorItem)); Debug.Log(hasSpecificType); if (hasSpecificType){ return NodeEditorExtensions.CreateInstance>(); } return null; } } }