Exemplo n.º 1
0
 public void Initialize()
 {
     if (_cost == null)
     {
         _cost = new GenericUiList <CurrencyAmount>(_costPrefab.gameObject, _costLayout);
     }
 }
Exemplo n.º 2
0
        private void Awake()
        {
            _layoutCost.Initialize();
            _toBuyEntries = new GenericUiList <Item>(_toBuyEntryPrefab.gameObject, _toBuyLayoutGroup);

            _toSellEntries = new GenericUiList <ItemEntry>(_toSellEntryPrefab.gameObject, _toSellLayoutGroup);
        }
Exemplo n.º 3
0
 private void Awake()
 {
     _profiles = new GenericUiList <string>(_profilePrefab.gameObject, _layoutGroup);
 }