コード例 #1
0
 static private void BackShowUI(BasePanel _showPanel)
 {
     if (_showPanel == null)
     {
         return;
     }
     _showPanel.BackShowUI();
 }
コード例 #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();
    }