public void ChangePlayerImageColor() { if (_lobbyPlayer.isLocalPlayer) { Color randomColor = Random.ColorHSV(); randomColor.a = 1; playerImage.color = randomColor; _lobbyPlayer.ColorChanged(randomColor); } }
public void ChangePlayerImageColor() { if (_lobbyPlayer.isLocalPlayer) { Color randomColor = Random.ColorHSV(); randomColor.a = 1; playerImage.color = randomColor; _lobbyPlayer.ColorChanged(randomColor); } }