Files
NetCode/Library/PackageCache/com.unity.shadergraph@2c9221ffedf4/Editor/Data/Interfaces/IPropertyDrawer.cs
T
2025-12-21 18:31:02 +02: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();
}
}