This commit is contained in:
陈思海 2026-03-04 16:50:30 +08:00
parent f92e91920d
commit b3f3f268bf
2 changed files with 0 additions and 15 deletions

View File

@ -62,18 +62,4 @@ namespace AlicizaX.UI
Repeat = repeat;
}
}
/// <summary>
/// Attribute to mark a state as requiring a specific component
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
public class RequireComponentAttribute : Attribute
{
public Type RequiredType { get; }
public RequireComponentAttribute(Type requiredType)
{
RequiredType = requiredType;
}
}
}

View File

@ -1,3 +1,2 @@
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("AlicizaX.UI.Extension.Editor")]
5