Beamable SDK
All Classes Namespaces Functions Variables Properties Events
Public Member Functions | Public Attributes | List of all members
Beamable.Tournaments.CountdownTextBehaviour Class Reference
Inheritance diagram for Beamable.Tournaments.CountdownTextBehaviour:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Tournaments.CountdownTextBehaviour:
Collaboration graph
[legend]

Public Member Functions

void SetSecondsLeft (long secondsLeft)
 
string GetTimeString ()
 
void Refresh ()
 

Public Attributes

TextMeshProUGUI Text
 
string Prefix
 
int SecondsLeft => Mathf.Max(0, Mathf.FloorToInt(_endTime - (Time.realtimeSinceStartup * _debugSpeed)))
 
int MinutesLeft => SecondsLeft / 60
 
int HoursLeft => MinutesLeft / 60
 

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