コード例 #1
0
ファイル: Game.cs プロジェクト: mgherry/Game2D_TankShooter
 //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.
 }