Renamed all attributes and drawers to have postfix of either Attribute or AttributeDrawer

This commit is contained in:
Anders Ejlersen 2021-12-04 12:47:44 +01:00
parent 81bac32538
commit dc15bfec81
161 changed files with 265 additions and 265 deletions

View file

@ -5,16 +5,16 @@ using UnityEngine.Scripting;
namespace Module.Inspector
{
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
public sealed class HorizontalLine : PropertyAttribute
public sealed class HorizontalLineAttribute : PropertyAttribute
{
public readonly string title;
[Preserve]
public HorizontalLine()
public HorizontalLineAttribute()
{
}
public HorizontalLine(string title)
public HorizontalLineAttribute(string title)
{
this.title = title;
}

View file

@ -4,16 +4,16 @@ using UnityEngine.Scripting;
namespace Module.Inspector
{
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class MethodHeader : DecoratorMethodAttribute
public sealed class MethodHeaderAttribute : DecoratorMethodAttribute
{
public readonly string title;
[Preserve]
public MethodHeader()
public MethodHeaderAttribute()
{
}
public MethodHeader(string title)
public MethodHeaderAttribute(string title)
{
this.title = title;
}