public new void SetBridge(IBridge bridge) { _bridge = bridge; CardCollection = _bridge.GetAllCardsFromJson().Where(c => c.CardInfo.CardCategory == ECardCategory.Player) .ToList(); // TODO: Set dropdown DropdownCardSelection.options.Clear(); List <Dropdown.OptionData> dropdownOptions = new List <Dropdown.OptionData>(); foreach (Card card in CardCollection) { dropdownOptions.Add( new Dropdown.OptionData( $"{card.CardInfo.Identifier.ToString().PadLeft(3, '0')}: {card.CardInfo.Name}")); } DropdownCardSelection.AddOptions(dropdownOptions); DropdownCardSelection.RefreshShownValue(); SetCurrentCard(CardCollection[0]); }