Home
About us
Documentation
Français
Details
User Interface
class UiLayerManager : MonoBehavior
Keeps track of layers stacks and the most recent UiLayerGroup. Uses the user inputs to return to previous UiLayer
Open(string name) → Call open on most recent UiLayerGroup
Escape keybind → Return to previous UiLayerPopup
class abstract UiLayerBase : MonoBehavior
This is the most basic of all UI layers. Layers can be shown and hidden using the method public virtual void SetVisible(bool visible)
Moreover, it has the Open and Close methods calling SetVisible with events fired when called.
class abstract UiLayerPopup : UiLayerBase
Escape → Return to previous UiLayer by popping the stack of layers
When returning on a UiLayerGroup, the method Show with no argument is called → The default layer will be shown
Locked → Can't return using inputs but only scripts
class abstract UiLayerGroup : UiLayerPopup
This is an abstract class for UI layers regrouping several children. This class is merely a blueprint for further behaviors.
class abstract UiLayerGroupSwitch : UiLayerGroup
UiLayerGroupSwitch was designed for a popups with tabs inside of them, with always 1 tab shown. For example several categories opening tabs. When using OpenChild(UiLayerBase target) all other children will be hidden.