Files
GameDevTVObstacleDodge/Library/PackageCache/com.unity.shadergraph@41211273cdd1/Editor/Data/Interfaces/IPropertyDrawer.cs

18 lines
503 B
C#
Raw Normal View History

2026-01-08 16:50:20 +00: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);
void DisposePropertyDrawer();
}
}