Antura  1.1.0
Antura.Minigames.RadialGadget Class Reference
Inheritance diagram for Antura.Minigames.RadialGadget:

Public Member Functions

void SetPercentage (float _percentage, bool _pulse=true)
 Sets the timer at the given percentage, 0 to 1 More...
 
void PulseOn ()
 Starts the pulsing of the filled percentage More...
 
void PulseOff ()
 Stops the pulsing of the filled percentage More...
 

Public Attributes

Image Radial
 

Properties

bool IsPulsing [get]
 

Member Function Documentation

◆ PulseOff()

void Antura.Minigames.RadialGadget.PulseOff ( )

Stops the pulsing of the filled percentage

◆ PulseOn()

void Antura.Minigames.RadialGadget.PulseOn ( )

Starts the pulsing of the filled percentage

◆ SetPercentage()

void Antura.Minigames.RadialGadget.SetPercentage ( float  _percentage,
bool  _pulse = true 
)

Sets the timer at the given percentage, 0 to 1

Parameters
_percentageFill percentage, 0 to 1 (fills counterclockwise, contrary to minigamesUI timer)
_pulseIf TRUE also pulses the filled percentage, otherwise stops any pulsing already playing (same as calling or after setting the percentage)

Member Data Documentation

◆ Radial

Image Antura.Minigames.RadialGadget.Radial

Property Documentation

◆ IsPulsing

bool Antura.Minigames.RadialGadget.IsPulsing
get

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