private void ClearCurrentScreen()
 {
     if ((Object)currentScreen != (Object)null)
     {
         currentScreen.Deactivate();
         currentScreen = null;
     }
 }
 private void ActivateCurrentScreen()
 {
     if (currentScreenIndex >= 0 && currentScreenIndex < newGameFlowScreens.Count)
     {
         NewGameFlowScreen newGameFlowScreen = Util.KInstantiateUI <NewGameFlowScreen>(newGameFlowScreens[currentScreenIndex].gameObject, base.transform.parent.gameObject, true);
         newGameFlowScreen.OnNavigateForward  += Next;
         newGameFlowScreen.OnNavigateBackward += Previous;
         if (!newGameFlowScreen.IsActive() && !newGameFlowScreen.activateOnSpawn)
         {
             newGameFlowScreen.Activate();
         }
         currentScreen = newGameFlowScreen;
     }
 }