public override void SimulateController() { ILobbyCommandInput input = LobbyCommand.Create(); input.Name = playerName; input.Color = playerColor; input.Ready = ready; entity.QueueInput(input); }
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); }