NLDClient-yudde/ProjectNLD/Assets/Code/Scripts/Framework/UI/UIManager.Layer.cs

27 lines
646 B
C#
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System.Collections.Generic;
using Obfuz;
using UnityEngine;
/// <summary>
/// UIManager 的层级管理扩展
/// 提供便捷的层级查询方法(委托给 UICanvasLayerManager)
/// </summary>
public partial class UIManager
{
/// <summary>
/// 检查指定层级是否为空
/// </summary>
public bool CheckIsLayerListEmpty(UICanvasLayer layer)
{
return LayerManager.IsLayerEmpty(layer);
}
/// <summary>
/// 获取指定层级的顶部窗口
/// </summary>
public UIWindow GetTopWindowInLayer(UICanvasLayer layer)
{
return LayerManager.GetTopWindowInLayer(layer);
}
}