Class UIModeFactory
Inherited Members
Namespace: Unity.Muse.Common
Syntax
public static class UIModeFactory
Methods
GetUIMode(String)
Declaration
public static IUIMode GetUIMode(string mode)
Parameters
| Type | Name | Description |
|---|---|---|
| String | mode |
Returns
| Type | Description |
|---|---|
| IUIMode |
RegisterUIMode<T>(String)
Declaration
public static bool RegisterUIMode<T>(string mode)
where T : IUIMode, new()
Parameters
| Type | Name | Description |
|---|---|---|
| String | mode |
Returns
| Type | Description |
|---|---|
| Boolean |
Type Parameters
| Name | Description |
|---|---|
| T |