pixelgon/Assets/NaughtyAttributes/Scripts/Editor/Attributes/BaseAttribute.cs
2020-06-05 11:54:36 -07:00

23 lines
551 B
C#

using System;
namespace NaughtyAttributes.Editor
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public abstract class BaseAttribute : Attribute, IAttribute
{
private Type targetAttributeType;
public BaseAttribute(Type targetAttributeType)
{
this.targetAttributeType = targetAttributeType;
}
public Type TargetAttributeType
{
get
{
return this.targetAttributeType;
}
}
}
}