This repository has been archived on 2024-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
snakeinabox/Assets/NaughtyAttributes/Scripts/Editor/Attributes/BaseAttribute.cs
2020-07-09 11:41:01 -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;
}
}
}
}