Antura  1.1.0
Antura.GamesSelector.GamesSelector Class Reference

Handles the GamesSelector logic, showing bubbles for all mini-games that should be played next. More...

Inheritance diagram for Antura.GamesSelector.GamesSelector:

Static Public Member Functions

static void Show (List< MiniGameData > _games, Camera _cam=null)
 Instantiates and starts the GamesSelector routine, or just resets and starts it if it's already present in the scene. The selector will automatically adapt to the position of the main camera (or the given one). More...
 

Public Attributes

bool AudoLoadMinigamesOnStartup = true
 
float DistanceFromCamera = 14
 
float EndDelay = 2
 
bool SimulateForDebug
 

Events

static Action OnComplete
 

Detailed Description

Handles the GamesSelector logic, showing bubbles for all mini-games that should be played next.

This can be instantiated in any scene. To create and start it automatically, just call the static Show method. When the user has opened all bubbles and the app should move on, the OnComplete event will be dispatched.

Member Function Documentation

◆ Show()

static void Antura.GamesSelector.GamesSelector.Show ( List< MiniGameData _games,
Camera  _cam = null 
)
static

Instantiates and starts the GamesSelector routine, or just resets and starts it if it's already present in the scene. The selector will automatically adapt to the position of the main camera (or the given one).

Parameters
_gamesThe list of selected games, ordered as they will happen in the session
_camCamera to use. If NULL uses main camera automatically

Member Data Documentation

◆ AudoLoadMinigamesOnStartup

bool Antura.GamesSelector.GamesSelector.AudoLoadMinigamesOnStartup = true

◆ DistanceFromCamera

float Antura.GamesSelector.GamesSelector.DistanceFromCamera = 14

◆ EndDelay

float Antura.GamesSelector.GamesSelector.EndDelay = 2

◆ SimulateForDebug

bool Antura.GamesSelector.GamesSelector.SimulateForDebug

Event Documentation

◆ OnComplete

Action Antura.GamesSelector.GamesSelector.OnComplete
static

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