2025-03-14 16:53:25 +08:00
|
|
|
|
#if DISABLE_DEBUG
|
|
|
|
|
#undef DEBUG
|
|
|
|
|
#endif
|
|
|
|
|
using DCFApixels.DragonECS.Core;
|
2024-11-01 20:43:15 +08:00
|
|
|
|
using System;
|
2023-12-20 23:16:57 +08:00
|
|
|
|
|
|
|
|
|
namespace DCFApixels.DragonECS
|
|
|
|
|
{
|
|
|
|
|
[AttributeUsage(AttributeTargets.Struct | AttributeTargets.Class | AttributeTargets.Interface, Inherited = false, AllowMultiple = false)]
|
2024-02-28 02:10:35 +08:00
|
|
|
|
public sealed class MetaNameAttribute : EcsMetaAttribute
|
2023-12-20 23:16:57 +08:00
|
|
|
|
{
|
|
|
|
|
public readonly string name;
|
2024-03-10 01:25:08 +08:00
|
|
|
|
public readonly bool isHideGeneric;
|
|
|
|
|
public MetaNameAttribute(string name, bool isHideGeneric = false)
|
|
|
|
|
{
|
|
|
|
|
this.name = name;
|
|
|
|
|
this.isHideGeneric = isHideGeneric;
|
|
|
|
|
}
|
2023-12-20 23:16:57 +08:00
|
|
|
|
}
|
|
|
|
|
}
|