新增 FlowScope Git 包雏形
This commit is contained in:
28
Packages/com.flowscope.gamecore/Runtime/UI/UIPanelRecord.cs
Normal file
28
Packages/com.flowscope.gamecore/Runtime/UI/UIPanelRecord.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user