Antura  1.1.0
Antura.Minigames.CircleButton Class Reference

A circle-shaped button. More...

Inheritance diagram for Antura.Minigames.CircleButton:

Public Member Functions

void SetColor (Color color)
 
void Destroy (float delay=0, System.Action onAnimationCompleted=null)
 
void OnClicked ()
 
void DoEnterAnimation (float delay)
 
bool IsReady ()
 

Public Attributes

UnityEngine.UI.Image button
 
TMPro.TextMeshProUGUI text
 
TMPro.TextMeshProUGUI textImage
 
System.Action< CircleButtononClicked
 
IAudioManager audioManager
 

Properties

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

Detailed Description

A circle-shaped button.

Member Function Documentation

◆ Destroy()

void Antura.Minigames.CircleButton.Destroy ( float  delay = 0,
System.Action  onAnimationCompleted = null 
)

◆ DoEnterAnimation()

void Antura.Minigames.CircleButton.DoEnterAnimation ( float  delay)

◆ IsReady()

bool Antura.Minigames.CircleButton.IsReady ( )

◆ OnClicked()

void Antura.Minigames.CircleButton.OnClicked ( )

◆ SetColor()

void Antura.Minigames.CircleButton.SetColor ( Color  color)

Member Data Documentation

◆ audioManager

IAudioManager Antura.Minigames.CircleButton.audioManager

◆ button

UnityEngine.UI.Image Antura.Minigames.CircleButton.button

◆ onClicked

System.Action<CircleButton> Antura.Minigames.CircleButton.onClicked

◆ text

TMPro.TextMeshProUGUI Antura.Minigames.CircleButton.text

◆ textImage

TMPro.TextMeshProUGUI Antura.Minigames.CircleButton.textImage

Property Documentation

◆ Active

bool Antura.Minigames.CircleButton.Active
getset

◆ Answer

ILivingLetterData Antura.Minigames.CircleButton.Answer
getset

◆ ImageMode

bool Antura.Minigames.CircleButton.ImageMode
getset

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