DragonECS/src/Debug/MetaAttributes/MetaNameAttribute.cs
2024-02-28 02:10:35 +08:00

12 lines
372 B
C#

using System;
namespace DCFApixels.DragonECS
{
[AttributeUsage(AttributeTargets.Struct | AttributeTargets.Class | AttributeTargets.Interface, Inherited = false, AllowMultiple = false)]
public sealed class MetaNameAttribute : EcsMetaAttribute
{
public readonly string name;
public MetaNameAttribute(string name) => this.name = name;
}
}