I have letter objects and each object has UI Text. The objects increase according string’s length (like at picture). Also the string converting to char array as random. So I want to put elements in char array to each UI Text of letters object as seperatly.
For Example: string is “answer”. Sure, char array will be (“a”,“n”,“s”,“w”,“e”,“r”). So Letter(0).GetChild(0).text will be “a”, Letter(1).GetChild(0).text will be “n”, Letter(2).GetChild(0).text will be “n” and it will go like this.
How can i do this? I hope I could to tell you in an understandable way.
@methos5k He wants to populate the text object on each Letter object. So that each box has a letter in it. From the looks of it, it’s a tap the letter to create a word type game. I was going to put something, just hadn’t had a chance.
Ya, I knew the part about getting the letter. Do you want the letter you click to be the next one in the index?
I feel like I half understand the question, sorry.
I did convert the string to char array. I want to put the char array elements to UI Text of GameObjects (named “Letter(Clone)”). I explain in detail already or my english too bad. Also are you old? I’ve seen you at my before question. you answered it and you was seem teen