DragonECS/src/Debug/Attributes/DebugNameAttribute.cs
2023-04-03 06:18:07 +08:00

15 lines
366 B
C#

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