feat: scoring

This commit is contained in:
Fangh 2024-01-31 23:45:58 +01:00
parent 02a8e7aff7
commit b7f6de5d78
2 changed files with 2 additions and 1 deletions

View File

@ -293,7 +293,7 @@ private void OnNewGameStateStarted()
case (int)GameState.Score: case (int)GameState.Score:
Debug.Log("It's score time !"); Debug.Log("It's score time !");
scoringPage.Initialize(); scoringPage.Initialize(myRoom);
break; break;
default: default:

View File

@ -8,6 +8,7 @@ public class ScoringPage : MonoBehaviour
public void Initialize(Room _room) public void Initialize(Room _room)
{ {
gameObject.SetActive(true);
foreach(PlayerSticker p in playerStickers) foreach(PlayerSticker p in playerStickers)
{ {
p.gameObject.SetActive(false); p.gameObject.SetActive(false);