CTT/Unity/Assets/Model/Core/Object/BaseAttribute.cs

15 lines
254 B
C#
Raw Normal View History

2021-04-08 20:09:59 +08:00
using System;
namespace ET
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class BaseAttribute: Attribute
{
public Type AttributeType { get; }
public BaseAttribute()
{
this.AttributeType = this.GetType();
}
}
}