Class: UIManager
- Namespace:
Global - Assembly:
Dew.Core.dll - Inheritance / Derived: LogicBehaviour →
ManagerBase→ UIManager → InGameUIManager → LobbyUIManager
csharp
public class UIManager : ManagerBase<UIManager>, ILogicUpdateFields
| Name | Declaration | Description |
|---|---|---|
onStateChanged | public SafeAction<string, string> onStateChanged |
Properties
| Name | Declaration | Description |
|---|---|---|
availableStates | public IReadOnlyCollection<string> availableStates { get; } | |
state | public string state { get; } |
Methods
IsState(string)
csharp
public bool IsState(string state)Parameters:
| Name | Type | Description |
|---|---|---|
state | string |
Returns: bool
OnStateChanged(string, string)
csharp
protected virtual void OnStateChanged(string oldState, string newState)Parameters:
| Name | Type | Description |
|---|---|---|
oldState | string | |
newState | string |
SetState(string)
csharp
public void SetState(string newState)Parameters:
| Name | Type | Description |
|---|---|---|
newState | string |
ShouldDoAutoFocus()
csharp
public virtual bool ShouldDoAutoFocus()Returns: bool