示例#1
0
    public void ChangeScreen(SceneName sceneName)
    {
        ScreenData temp = ScreenDataList.Find(x => x.screenName == sceneName);

        if (currentScreen != null)
        {
            currentScreen.Hide();
        }
        currentScreen = temp.screen;
        currentScreen.Show();
    }
示例#2
0
 public void ShowScreen(UIScreenView screenView)
 {
     UICurrentScreenView = screenView;
     screenView.Show();
     screenView.gameObject.SetActive(true);
 }