module-inspector/Runtime/Drawers/AngleDisplayAsAttribute.cs

16 lines
397 B
C#

using System;
using UnityEngine.Scripting;
namespace Module.Inspector
{
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
public sealed class AngleDisplayAsAttribute : DrawerPropertyAttribute
{
public readonly EAngle type;
public AngleDisplayAsAttribute(EAngle type)
{
this.type = type;
}
}
}