Antura  1.1.0
Antura.UI.MinigamesUI Class Reference

General controller of common UI for all minigames. More...

Inheritance diagram for Antura.UI.MinigamesUI:

Static Public Member Functions

static void Init (MinigamesUIElement _elements)
 Instantiates the Minigames UI in a scene, with the given parameters. The minigames UI is destroyed when a new scene is loaded. More...
 

Static Public Attributes

static MinigamesUIStarbar Starbar
 
static MinigamesUITimer Timer
 
static MinigamesUILives Lives
 

Detailed Description

General controller of common UI for all minigames.

Member Function Documentation

◆ Init()

static void Antura.UI.MinigamesUI.Init ( MinigamesUIElement  _elements)
static

Instantiates the Minigames UI in a scene, with the given parameters. The minigames UI is destroyed when a new scene is loaded.

NOTE: calling this method when a MinigamesUI is already in the scene will destroy the current one and create a new one.

NOTE: after calling this method, you will have to call the Setup method on each separate element (except for Starbar that doesn't need it).

Parameters
_elementsUI elements, uses Flag enum. For example, to activate both Starbar and Timer, use:

while to activate only the Timer, call:

Member Data Documentation

◆ Lives

MinigamesUILives Antura.UI.MinigamesUI.Lives
static

◆ Starbar

MinigamesUIStarbar Antura.UI.MinigamesUI.Starbar
static

◆ Timer

MinigamesUITimer Antura.UI.MinigamesUI.Timer
static

The documentation for this class was generated from the following file: