Files
FlowScope/My project/Assets/FlowScope/Runtime/UI/UIPanelAttribute.cs
2026-05-15 15:57:30 +08:00

23 lines
546 B
C#

using System;
namespace FlowScope.UI
{
[AttributeUsage(AttributeTargets.Class)]
public sealed class UIPanelAttribute : Attribute
{
public UIPanelAttribute(
string layer,
string path = null,
PanelStrategy? overrideStrategy = null)
{
Layer = layer;
Path = path;
OverrideStrategy = overrideStrategy;
}
public string Layer { get; }
public string Path { get; }
public PanelStrategy? OverrideStrategy { get; }
}
}