mathe/Library/PackageCache/com.unity.shadergraph@14.0.8/Editor/Data/Attributes/SGPropertyDrawerAttribute.cs

16 lines
355 B
C#
Raw Normal View History

2024-09-20 20:30:10 +02:00
using System;
namespace UnityEditor.ShaderGraph.Drawing
{
[AttributeUsage(AttributeTargets.Class)]
public class SGPropertyDrawerAttribute : Attribute
{
public Type propertyType { get; private set; }
public SGPropertyDrawerAttribute(Type propertyType)
{
this.propertyType = propertyType;
}
}
}