void Start() { stockList.SetItemClickListener(pos => { StockStore.SelectedStockPos = pos; SceneManager.LoadScene("StockDetails", LoadSceneMode.Additive); }); stockList.SetList(manager.GetAllStocks()); }
void Start() { stockList.SetItemClickListener(pos => { StockStore.SelectedStockPos = pos; SceneManager.LoadScene("StockDetails", LoadSceneMode.Additive); }); stockList.SetList(manager.GetAllStocks()); }