Class UIManager
Inheritance
object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
UIManager
Assembly: Dew.Core.dll
Syntax
public class UIManager : ManagerBase<UIManager>, ILogicUpdate
Fields
onStateChanged
Declaration
public SafeAction<string, string> onStateChanged
Field Value
Properties
availableStates
Declaration
public IReadOnlyCollection<string> availableStates { get; }
Property Value
| Type |
Description |
| System.Collections.Generic.IReadOnlyCollection<T><string> |
|
state
Declaration
public string state { get; }
Property Value
Methods
IsState(string)
Declaration
public bool IsState(string state)
Parameters
| Type |
Name |
Description |
| string |
state |
|
Returns
OnStateChanged(string, string)
Declaration
protected virtual void OnStateChanged(string oldState, string newState)
Parameters
| Type |
Name |
Description |
| string |
oldState |
|
| string |
newState |
|
SetState(string)
Declaration
public void SetState(string newState)
Parameters
| Type |
Name |
Description |
| string |
newState |
|
ShouldDoAutoFocus()
Declaration
public virtual bool ShouldDoAutoFocus()
Returns
Implements
Extension Methods