Singularity/Library/PackageCache/com.unity.shadergraph@12.1.11/Editor/Data/Interfaces/IPropertyDrawer.cs

16 lines
464 B
C#
Raw Permalink Normal View History

2024-05-06 14:45:45 -04:00
using System;
using System.Reflection;
using UnityEditor.ShaderGraph.Drawing;
using UnityEngine.UIElements;
namespace UnityEditor.ShaderGraph.Drawing
{
// Interface that should be implemented by any property drawer for the inspector view
public interface IPropertyDrawer
{
Action inspectorUpdateDelegate { get; set; }
VisualElement DrawProperty(PropertyInfo propertyInfo, object actualObject, InspectableAttribute attribute);
}
}