TrackVotes
Jump To Parameters
Jump To Function Definitions
Parameter Definitions
Select the parameter name from below to jump directly to it on this page.
indexNumberToTrack
The index of the
sceneVotesvariable to track.
| Exposed Value | Type | Default Value |
|---|---|---|
| protected | int | 0 |
texts
The Text values to manipulate to show how many votes at the selected index there currently are.
| Exposed Value | Type | Default Value |
|---|---|---|
| protected | Text[] | new Text[] { } |
Function Definitions
Select the function name from below to jump directly to it on this page.
protected virtual void FixedUpdate()
Dynamically sets the
textsvalues to be what the current number of votes there are at the selectedindexNumberToTrackindex.
| Expose Value | Overrideable | Returns |
|---|---|---|
| protected | True | Does not return anything |
No parameters
protected virtual void SetText(string inputText)
Used to set the
textsvalues to be whatever the input value is
| Expose Value | Overrideable | Returns |
|---|---|---|
| protected | True | Does not return anything |
| Parameter Name | Description |
|---|---|
| inputText | string type, the string value to set to the texts |