private void GetCurrencySlots() { GameObject[] slots = GameObject.FindGameObjectsWithTag("currency"); var currencies = _backendManager.GenerateCurrency(); foreach (GameObject slot in slots) { var currencyList = slot.GetComponent <Dropdown>(); currencyList.options.Clear(); currencyList.options.AddRange(from string currency in currencies let data = new Dropdown.OptionData { text = currency } select data); } }