static private void BackHideUI(BasePanel _hidePanel) { if (_hidePanel == null) { return; } _hidePanel.BackHideUI(); }
/// <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(); }