Files
FlowScope/Packages/com.flowscope.gamecore/Runtime/UI/UIPanelRecord.cs
2026-06-04 14:54:49 +08:00

29 lines
708 B
C#

using System;
namespace FlowScope.UI
{
internal sealed class UIPanelRecord
{
public UIPanelRecord(
Type panelType,
string layerName,
IUIPanel panel,
IDisposable handle,
PanelStrategy strategy)
{
PanelType = panelType;
LayerName = layerName;
Panel = panel;
Handle = handle;
Strategy = strategy;
}
public Type PanelType { get; }
public string LayerName { get; }
public IUIPanel Panel { get; }
public IDisposable Handle { get; }
public PanelStrategy Strategy { get; }
public bool IsOpen { get; set; }
}
}