예제 #1
0
 //Called when a player's score reaches the maxScore.
 //The "playerId" value, is the id of the player that won the game.
 void WinGame(int playerId)
 {
     ui.SetWinScreen(playerId);              //Call the SetWinScreen function in UI.cs, and send over the winning player's id.
 }