Beispiel #1
0
    /// <summary>
    /// 调节当前显示面板的深度
    /// </summary>
    /// <param name="panel"></param>
    public void AdjustPanelBaseDepth(UIPanelBase panel)
    {
        if (panel == null)
        {
            return;
        }
        int depth = GetTargetRootMaxDepth(panel);

        panel.UpdatePanelDepth(depth);
    }