0

How to convert random item to index list object

items = Enumerable.Range(0, 4) .Select(i => new ItemData(

quot;Cell {i}")) .ToArray(); scrollView.UpdateData(items); scrollView.SelectCell(0); I want to creat a prefab manually in scene, and assign every prefab to items, like item1, item2, item3... etc The scripte generate the same prefab withe same description text, so why I need to assign the prefab manually from scene and take full control of editing the prefab, Am beginner thanks you for help.

5th Mar 2020, 11:06 PM
wolfdev
1 Réponse