private void SetColor(PlayerLabel playerLabel) { var playersColors = new List <Color>(); foreach (var label in PlayersLabels) { playersColors.Add(label.GetComponentInChildren <ColorPicker>().image.color); } playerLabel.GetComponentInChildren <ColorPicker>().ChooseFromAvailable(playersColors); }