23 lines
546 B
C#
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; }
|
|
}
|
|
}
|