Files
LowPolyRPG/Library/PackageCache/com.unity.shadergraph@608f316e1f48/Editor/Data/Interfaces/IPropertyDrawer.cs
Caleb Sandford deQuincey 715fb68744 Initial commitment
2025-06-25 11:10:11 +01:00

18 lines
503 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);
void DisposePropertyDrawer();
}
}