|
Flying Piggy 2D Runner Kit
1.0
Complete 2D runner template for Unity
|
Public Member Functions | |
| override Score | GetOrCreate< T > (int id, string name, params object[] args) |
| override bool | Update (Score score) |
| override List< Score > | GetList () |
| override List< Score > | GetList (Type type) |
| override void | ResetAll () |
| override void | ResetRunScores () |
| override void | ResetHighscores () |
| override void | ResetTotalScores () |
Additional Inherited Members | |
Protected Member Functions inherited from ScoreService | |
| ScoreService () | |
Static Protected Attributes inherited from ScoreService | |
| static ScoreService | instance |
Properties inherited from ScoreService | |
| static ScoreService | Instance [get] |
Manage scores via Data access object. Get, create and save scores.
|
virtual |
Get list of existing scores
Implements ScoreService.
|
virtual |
|
virtual |
Get a score or create a new one if it doesn't exist yet.
| id | - id of the score |
| name | - name of the score |
| args | - arguments according to the constructor of the type T |
Implements ScoreService.
|
virtual |
Set all score values to 0.
Implements ScoreService.
|
virtual |
Set all Highscore values to 0.
Implements ScoreService.
|
virtual |
Set all RunScore values to 0.
Implements ScoreService.
|
virtual |
Set all TotalScore values to 0.
Implements ScoreService.
|
virtual |
Save the score
Implements ScoreService.