Class UiPrefabFactory

Namespace
SurvivorsMaker.Presentation
Assembly
SurvivorsMaker.Presentation.dll

Creates a complete serializable hierarchy. The editor wrapper only saves it as an asset.

public static class UiPrefabFactory
Inheritance
UiPrefabFactory
Inherited Members

Methods

AddSettings(RectTransform, UiTheme)

The settings screen as a modal layer under root (also used for prefabs that predate it).

public static SettingsPanel AddSettings(RectTransform root, UiTheme theme)

Parameters

root RectTransform
theme UiTheme

Returns

SettingsPanel

Create(UiScreen, UiTheme)

public static GameObject Create(UiScreen screen, UiTheme theme = null)

Parameters

screen UiScreen
theme UiTheme

Returns

GameObject