feat: scoring
This commit is contained in:
parent
02a8e7aff7
commit
b7f6de5d78
@ -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:
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user