Table of Contents

Class InGameUi

Namespace
TinyLife.Uis
Assembly
Tiny Life.dll

This class holds a set of ways to interact with the game's in-game ui.

public static class InGameUi
Inheritance
InGameUi
Inherited Members

Properties

BuildBottomRight

The bottom-right corner of build menu, which houses the BuildZoom.

public static Group BuildBottomRight { get; }

Property Value

Group

BuildContent

The build content panel that is passed into InitBuildModeUi(Panel, Panel).

public static Panel BuildContent { get; }

Property Value

Panel

BuildTopLeft

The top-left corner of build mode, which houses the LotType and LotEmployments.

public static Group BuildTopLeft { get; }

Property Value

Group

BuildView

The build view, which is the group passed to InitBuildModeUi(Panel, Panel).

public static Group BuildView { get; }

Property Value

Group

BuildZoom

The build zoom panel that is passed into InitBuildModeUi(Panel, Panel).

public static Panel BuildZoom { get; }

Property Value

Panel

LotEmployments

The group that houses the lot employments of the current lot.

public static Group LotEmployments { get; }

Property Value

Group

LotType

The panel that houses the lot types of the current lot.

public static Panel LotType { get; }

Property Value

Panel

Main

The main element that all other in-game ui elements are added to.

public static Group Main { get; }

Property Value

Group

Events

OnInitialized

An event that is invoked when the in-game ui is initialized after entering a save.

public static event Action OnInitialized

Event Type

Action

OnModesPanelInitialized

An event that is invoked when the in-game ui's modes panel is initialized. The modes panel is situated in the top right, and contains buttons for build mode, opening notifications, switching the viewed map, and so on.

public static event Action<Panel> OnModesPanelInitialized

Event Type

Action<Panel>

OnTopRightInitialized

An event that is invoked when the in-game ui's top right panel is initialized. The top-right panel contains the game's current time and day, money amount, as well as the panel received in OnModesPanelInitialized.

public static event Action<Group> OnTopRightInitialized

Event Type

Action<Group>