WuhuIslandTesting/Library/PackageCache/com.unity.shadergraph@8148.12.1-8/Editor/Data/Interfaces/IPropertyDrawer.cs
2025-01-07 02:06:59 +01:00

15 lines
464 B
C#

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);
}
}