暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

IPropertyDrawer.cs 503B

1234567891011121314151617
  1. using System;
  2. using System.Reflection;
  3. using UnityEditor.ShaderGraph.Drawing;
  4. using UnityEngine.UIElements;
  5. namespace UnityEditor.ShaderGraph.Drawing
  6. {
  7. // Interface that should be implemented by any property drawer for the inspector view
  8. public interface IPropertyDrawer
  9. {
  10. Action inspectorUpdateDelegate { get; set; }
  11. VisualElement DrawProperty(PropertyInfo propertyInfo, object actualObject, InspectableAttribute attribute);
  12. void DisposePropertyDrawer();
  13. }
  14. }