diff --git a/namedropper/Assets/Scripts/Game.cs b/namedropper/Assets/Scripts/Game.cs index 7973434..b138a01 100644 --- a/namedropper/Assets/Scripts/Game.cs +++ b/namedropper/Assets/Scripts/Game.cs @@ -191,5 +191,14 @@ public class Game : MonoBehaviour { NextRound(); } + if (Input.GetKeyDown(KeyCode.F11)) + { + GameManager.PLAYER_SKIN++; + if (GameManager.PLAYER_SKIN > GameManager.MAX_PLAYER_SKIN) + { + GameManager.PLAYER_SKIN = 0; + } + GameManager.Instance.RestartGame(); + } } } diff --git a/namedropper/Assets/Scripts/GameManager.cs b/namedropper/Assets/Scripts/GameManager.cs index b3a2a30..c388788 100644 --- a/namedropper/Assets/Scripts/GameManager.cs +++ b/namedropper/Assets/Scripts/GameManager.cs @@ -19,7 +19,8 @@ public class GameManager int _numPlayers; bool _competitive = true; - public const int PLAYER_SKIN = 4; //0 == puck, 1 == pancake, 2 == gummybear, 3==pig, 4==ball w/ bear + public static int PLAYER_SKIN = 0; //0 == puck, 1 == pancake, 2 == gummybear, 3==pig, 4==ball w/ bear + public static int MAX_PLAYER_SKIN = 4; public GameManager() {