add DebugNameAttribute

This commit is contained in:
Mikhail 2023-04-03 06:18:07 +08:00
parent 842c83495a
commit 9bc1eb42ab

View File

@ -0,0 +1,14 @@
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;
}
}
}