Loading...
Searching...
No Matches
CityBuilderCore.DefaultViewManager Class Reference
Inheritance diagram for CityBuilderCore.DefaultViewManager:
CityBuilderCore.IViewsManager

Public Member Functions

void ActivateView (View view)
 deactivates the currently active view if there is one and activates the new one
 
void DeactivateView (View view)
 deactivates the view if it is the currently active one
 

Public Attributes

View DefaultView
 
UnityEvent< ViewViewChanged
 

Protected Member Functions

virtual void Awake ()
 

Properties

bool HasActiveView [get]
 whether there is any view active currently
 
View ActiveView [get]
 the currently active view or null when null
 
- Properties inherited from CityBuilderCore.IViewsManager

Member Function Documentation

◆ ActivateView()

void CityBuilderCore.DefaultViewManager.ActivateView ( View view)
inline

deactivates the currently active view if there is one and activates the new one

Parameters
viewthe view to activate

Implements CityBuilderCore.IViewsManager.

◆ DeactivateView()

void CityBuilderCore.DefaultViewManager.DeactivateView ( View view)
inline

deactivates the view if it is the currently active one

Parameters
viewthe view to deactivate

Implements CityBuilderCore.IViewsManager.

Property Documentation

◆ ActiveView

View CityBuilderCore.DefaultViewManager.ActiveView
get

the currently active view or null when null

Implements CityBuilderCore.IViewsManager.

◆ HasActiveView

bool CityBuilderCore.DefaultViewManager.HasActiveView
get

whether there is any view active currently

Implements CityBuilderCore.IViewsManager.