C# Lists and retrieving information from them

Hi all, been a long time since I’ve been here. Need to get back into Unity and coming across a few stumbling blocks, maybe down to being away for too long, or possibly down to switching to C# instead of UnityScript.

So, I’m really struggling with Lists. I have created a list and managed to populate it with 5 items. I have managed to print the details of these five items to the console. What I am struggling with is taking one of the details (Name for instance) and converting to a text object thats visible in the new UI, and at the same specifying which item on the list to display.

Does this make sense to anyone? I can happily share my code if people don’t understand.

regards

Alan P.

so the new UI has a text component with a text property.

Assign the text property to an index of your list.

get practice with lists:

Show us some code you’ve attempted yourself and someone may guide you a little more, but no spoon feeding for you