public void Initialize() { if (_cost == null) { _cost = new GenericUiList <CurrencyAmount>(_costPrefab.gameObject, _costLayout); } }
private void Awake() { _layoutCost.Initialize(); _toBuyEntries = new GenericUiList <Item>(_toBuyEntryPrefab.gameObject, _toBuyLayoutGroup); _toSellEntries = new GenericUiList <ItemEntry>(_toSellEntryPrefab.gameObject, _toSellLayoutGroup); }
private void Awake() { _profiles = new GenericUiList <string>(_profilePrefab.gameObject, _layoutGroup); }