public override void SimulateController()
        {
            ILobbyCommandInput input = LobbyCommand.Create();

            input.Name  = playerName;
            input.Color = playerColor;
            input.Ready = ready;

            entity.QueueInput(input);
        }
Exemplo n.º 2
0
        public override void SimulateController()
        {
            ILobbyCommandInput input = LobbyCommand.Create();

            if (PlayerPrefs.HasKey("PlayerName"))
            {
                playerName = PlayerPrefs.GetString("PlayerName");
            }

            input.Name  = playerName;
            input.Color = playerColor;
            input.Ready = ready;

            entity.QueueInput(input);
        }