mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-19 02:24:37 +08:00
21 lines
592 B
C#
21 lines
592 B
C#
#if DISABLE_DEBUG
|
|
#undef DEBUG
|
|
#endif
|
|
using DCFApixels.DragonECS.Core;
|
|
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 readonly bool isHideGeneric;
|
|
public MetaNameAttribute(string name, bool isHideGeneric = false)
|
|
{
|
|
this.name = name;
|
|
this.isHideGeneric = isHideGeneric;
|
|
}
|
|
}
|
|
}
|