Esempio n. 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();
    }
Esempio n. 2
0
 public void ShowScreen(UIScreenView screenView)
 {
     UICurrentScreenView = screenView;
     screenView.Show();
     screenView.gameObject.SetActive(true);
 }