public void MoveToScreen(AppScreen nextScreen) { Sequence hideSequence = currentScreen.Hide(); previousScreen = currentScreen; Sequence showSequence = nextScreen.Show(); currentScreen = nextScreen; CheckAppMenuAvailability(showSequence, hideSequence); }
public void ReturnToPreviousScreen() { Sequence hideSequence = currentScreen.HideReversed(); currentScreen = previousScreen; Sequence showSequence = previousScreen.Show(); previousScreen = currentScreen.PreviousScreen; CheckAppMenuAvailability(showSequence, hideSequence); }
void Start() { homeScreen.Show(); appMenu.Activate(); backHeaderAnimation.Activate(); }