public void OpenTitleMenu() { if (_titleMenu == null) { _titleMenu = OpenWindow(Define._uiTitleMenuPrefabPath, _mainPanel) as UITitleMenu; } }
public void CloseTitleMenu() { if (_titleMenu != null) { CloseWindow(_titleMenu); _titleMenu = null; } }