
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
16 lines
464 B
C#
16 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);
|
|
}
|
|
}
|