Beispiel #1
0
 static private void BackHideUI(BasePanel _hidePanel)
 {
     if (_hidePanel == null)
     {
         return;
     }
     _hidePanel.BackHideUI();
 }
Beispiel #2
0
    /// <summary>
    /// 回到上次UI
    /// </summary>
    static public void LastUIToUI(BasePanel _fromPanel)
    {
        if (currentUIPanel == null || (currentUIPanel != _fromPanel && _fromPanel != null))
        {
            currentUIPanel = _fromPanel;
        }

        if (oldUIPanel == null || currentUIPanel == null)
        {
            return;
        }

        oldUIPanel.BackShowUI();
        currentUIPanel.BackHideUI();
    }