Antura  1.1.0
Antura.UI.MinigamesUIStarbar Class Reference

Shows the number of obtained stars available in a minigame. More...

Inheritance diagram for Antura.UI.MinigamesUIStarbar:
Antura.UI.ABSMinigamesUIComponent

Public Member Functions

void Goto (float _percentage)
 Sends the progress bar to the given percentage ( More...
 
void GotoStar (int _starIndex)
 Sends the progress bar to the point of the given star index ( More...
 

Public Attributes

RectTransform ProgressBar
 

Additional Inherited Members

- Protected Member Functions inherited from Antura.UI.ABSMinigamesUIComponent
bool Validate (string _caller)
 
- Properties inherited from Antura.UI.ABSMinigamesUIComponent
bool IsSetup [get, protected set]
 
RectTransform RectTransform [get]
 

Detailed Description

Shows the number of obtained stars available in a minigame.

Member Function Documentation

◆ Goto()

void Antura.UI.MinigamesUIStarbar.Goto ( float  _percentage)

Sends the progress bar to the given percentage (

0 to 1), unlocking eventual stars.

Parameters
_percentagePercentage to reach (
0 to 1)

◆ GotoStar()

void Antura.UI.MinigamesUIStarbar.GotoStar ( int  _starIndex)

Sends the progress bar to the point of the given star index (

0 to 2).

Parameters
_starIndexIndex of the star to reach (
0 to 2)

Member Data Documentation

◆ ProgressBar

RectTransform Antura.UI.MinigamesUIStarbar.ProgressBar

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