Skip to content

Class: UIManager ​

csharp
public class UIManager : ManagerBase<UIManager>, ILogicUpdate

Fields ​

NameDeclarationDescription
onStateChangedpublic SafeAction&lt;string, string&gt; onStateChanged

Properties ​

NameDeclarationDescription
availableStatespublic IReadOnlyCollection&lt;string&gt; availableStates { get; }
statepublic string state { get; }

Methods ​

IsState(string) ​

csharp
public bool IsState(string state)

Parameters:

NameTypeDescription
statestring

Returns: bool

OnStateChanged(string, string) ​

csharp
protected virtual void OnStateChanged(string oldState, string newState)

Parameters:

NameTypeDescription
oldStatestring
newStatestring

SetState(string) ​

csharp
public void SetState(string newState)

Parameters:

NameTypeDescription
newStatestring

ShouldDoAutoFocus() ​

csharp
public virtual bool ShouldDoAutoFocus()

Returns: bool

Maintained by the Shape of Dreams Modding Community