C# Class LeopotamGroup.Common.ScreenManager

Screen / scene manager, provides api for navigation with history rollback support.
Inheritance: UnitySingletonBase
Afficher le fichier Open project: Leopotam/LeopotamGroupLibraryUnity

Méthodes publiques

Méthode Description
ClearHistory ( ) : void

Force history clearup.

NavigateBack ( ) : void

Navigate back through saved in history screens.

NavigateTo ( string screenName, bool saveToHistory = false ) : void

Navigate to new screen.

Méthodes protégées

Méthode Description
OnConstruct ( ) : void

Method Details

ClearHistory() public méthode

Force history clearup.
public ClearHistory ( ) : void
Résultat void

NavigateBack() public méthode

Navigate back through saved in history screens.
public NavigateBack ( ) : void
Résultat void

NavigateTo() public méthode

Navigate to new screen.
public NavigateTo ( string screenName, bool saveToHistory = false ) : void
screenName string Target screen name.
saveToHistory bool Save current screen to history for using NavigateBack later.
Résultat void

OnConstruct() protected méthode

protected OnConstruct ( ) : void
Résultat void