C# Class LeopotamGroup.Common.ScreenManager

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

Public Methods

Method 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.

Protected Methods

Method Description
OnConstruct ( ) : void

Method Details

ClearHistory() public method

Force history clearup.
public ClearHistory ( ) : void
return void

NavigateBack() public method

Navigate back through saved in history screens.
public NavigateBack ( ) : void
return void

NavigateTo() public method

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.
return void

OnConstruct() protected method

protected OnConstruct ( ) : void
return void