예제 #1
0
        public void MoveToScreen(AppScreen nextScreen)
        {
            Sequence hideSequence = currentScreen.Hide();

            previousScreen = currentScreen;

            Sequence showSequence = nextScreen.Show();

            currentScreen = nextScreen;

            CheckAppMenuAvailability(showSequence, hideSequence);
        }
예제 #2
0
        public void ReturnToPreviousScreen()
        {
            Sequence hideSequence = currentScreen.HideReversed();

            currentScreen = previousScreen;

            Sequence showSequence = previousScreen.Show();

            previousScreen = currentScreen.PreviousScreen;

            CheckAppMenuAvailability(showSequence, hideSequence);
        }
예제 #3
0
 void Start()
 {
     homeScreen.Show();
     appMenu.Activate();
     backHeaderAnimation.Activate();
 }