DragonECS/src/Debug/Attributes/DebugNameAttribute.cs

15 lines
367 B
C#
Raw Normal View History

2023-04-03 06:18:07 +08:00
using System;
namespace DCFApixels.DragonECS
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = false, AllowMultiple = false)]
2023-04-03 06:18:07 +08:00
public sealed class DebugNameAttribute : Attribute
{
public readonly string name;
public DebugNameAttribute(string name)
{
this.name = name;
}
}
}