UI系统
This commit is contained in:
17
Assets/_Game/Scripts/UI/Navigation/UIStackEntry.cs
Normal file
17
Assets/_Game/Scripts/UI/Navigation/UIStackEntry.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
namespace BaseGames.UI
|
||||
{
|
||||
/// <summary>
|
||||
/// 导航栈中一层的记录。<see cref="FocusToRestore"/> 记录压栈前的选中项,
|
||||
/// 出栈时据此恢复键盘 / 手柄焦点;<see cref="OwningScene"/> 用于场景卸载时清理本层。
|
||||
/// </summary>
|
||||
internal sealed class UIStackEntry
|
||||
{
|
||||
public UIPanelBase Panel;
|
||||
public GameObject FocusToRestore;
|
||||
public PushMode Mode;
|
||||
public Scene OwningScene;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user