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