Class ScoreCounter
Syntax
public class ScoreCounter : MonoBehaviour
Fields
instance
Declaration
public static ScoreCounter instance
Field Value
Methods
IterateScore()
Declaration
public IEnumerator IterateScore()
Returns
Pop(Int32)
Declaration
public IEnumerator Pop(int digits)
Parameters
Type |
Name |
Description |
Int32 |
digits |
|
Returns
SetScore(Int32)
Declaration
public void SetScore(int score)
Parameters
Type |
Name |
Description |
Int32 |
score |
|
StartCounting(Int32)
Declaration
public void StartCounting(int score)
Parameters
Type |
Name |
Description |
Int32 |
score |
|