Antura  1.1.0
Antura.Minigames.CircleButtonBox Class Reference

A container for circle-shaped buttons.

See also
CircleButton
More...

Inheritance diagram for Antura.Minigames.CircleButtonBox:

Public Member Functions

void Clear (System.Action onClearAnimationCompleted=null, float startDelay=0)
 
CircleButton AddButton (ILivingLetterData letterData, System.Action< CircleButton > onClicked, float enterAnimationDelay)
 
bool IsReady ()
 
void ShowButtons ()
 
void HideButtons ()
 
void UpdatePositions ()
 

Public Attributes

float buttonDistance = 20f
 
int maxButtonsPerLine = 5
 
GameObject buttonPrefab
 

Properties

bool Active [get, set]
 
bool ImageMode [get, set]
 

Detailed Description

A container for circle-shaped buttons.

See also
CircleButton

Member Function Documentation

◆ AddButton()

CircleButton Antura.Minigames.CircleButtonBox.AddButton ( ILivingLetterData  letterData,
System.Action< CircleButton onClicked,
float  enterAnimationDelay 
)

◆ Clear()

void Antura.Minigames.CircleButtonBox.Clear ( System.Action  onClearAnimationCompleted = null,
float  startDelay = 0 
)

◆ HideButtons()

void Antura.Minigames.CircleButtonBox.HideButtons ( )

◆ IsReady()

bool Antura.Minigames.CircleButtonBox.IsReady ( )

◆ ShowButtons()

void Antura.Minigames.CircleButtonBox.ShowButtons ( )

◆ UpdatePositions()

void Antura.Minigames.CircleButtonBox.UpdatePositions ( )

Member Data Documentation

◆ buttonDistance

float Antura.Minigames.CircleButtonBox.buttonDistance = 20f

◆ buttonPrefab

GameObject Antura.Minigames.CircleButtonBox.buttonPrefab

◆ maxButtonsPerLine

int Antura.Minigames.CircleButtonBox.maxButtonsPerLine = 5

Property Documentation

◆ Active

bool Antura.Minigames.CircleButtonBox.Active
getset

◆ ImageMode

bool Antura.Minigames.CircleButtonBox.ImageMode
getset

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