Antura  1.1.0
Antura.Rewards.GameResultUI Class Reference

Controls the UI that shows the end results of a minigame or play session. More...

Inheritance diagram for Antura.Rewards.GameResultUI:

Static Public Member Functions

static void ShowEndgameResult (int _numStars)
 Never use this directly! Use the More...
 
static GameObject [] ShowEndsessionResult (List< EndsessionResultData > _sessionData, int _alreadyUnlockedRewards, bool _immediate=false)
 Returns an array with 2 gameObjects inside which to place the rewards prefab (0 is first reward, 1 is second). More...
 
static void HideEndgameResult (bool _immediate=false)
 Never use this directly! Use the More...
 
static void HideEndsessionResult (bool _immediate=false)
 Never use this directly! Use the More...
 

Public Attributes

EndgameResultPanel EndgameResultPanel
 
EndsessionResultPanel EndsessionResultPanel
 
BonesCounter BonesCounter
 
Vector2 BonesCounterEndgamePos
 

Static Public Attributes

static GameResultUI I
 

Detailed Description

Controls the UI that shows the end results of a minigame or play session.

  • Shown when a minigame ends
  • Shown when a play session ends

Member Function Documentation

◆ HideEndgameResult()

static void Antura.Rewards.GameResultUI.HideEndgameResult ( bool  _immediate = false)
static

Never use this directly! Use the

Minigames Interface instead.

◆ HideEndsessionResult()

static void Antura.Rewards.GameResultUI.HideEndsessionResult ( bool  _immediate = false)
static

Never use this directly! Use the

Minigames Interface instead.

◆ ShowEndgameResult()

static void Antura.Rewards.GameResultUI.ShowEndgameResult ( int  _numStars)
static

Never use this directly! Use the

Minigames Interface instead.

◆ ShowEndsessionResult()

static GameObject [] Antura.Rewards.GameResultUI.ShowEndsessionResult ( List< EndsessionResultData _sessionData,
int  _alreadyUnlockedRewards,
bool  _immediate = false 
)
static

Returns an array with 2 gameObjects inside which to place the rewards prefab (0 is first reward, 1 is second).

IMPORTANT: do not modify the returned array, just use its data

Parameters
_sessionDataA list of data for each minigame that was part of the session
_alreadyUnlockedRewardsTotal rewards unlocked in previous sessions (0 to 2)
_immediateIf TRUE shows the screen immediately with no animations. You can ignore this
Returns

Member Data Documentation

◆ BonesCounter

BonesCounter Antura.Rewards.GameResultUI.BonesCounter

◆ BonesCounterEndgamePos

Vector2 Antura.Rewards.GameResultUI.BonesCounterEndgamePos

◆ EndgameResultPanel

EndgameResultPanel Antura.Rewards.GameResultUI.EndgameResultPanel

◆ EndsessionResultPanel

EndsessionResultPanel Antura.Rewards.GameResultUI.EndsessionResultPanel

◆ I

GameResultUI Antura.Rewards.GameResultUI.I
static

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