Right now i have this:
Is a placeholder for what i want to do. This blue circles are images in different buttons, i have a blue image circle for every letter. I have to display the correct letter image to create a word. For example: word: "DOG" and the word is created by the "D" "O" "G" images.
That is the logic i cannot get my head around.
How can I, via script, select which image to show depending on the word given?
IDEAS:
- I have an array of (INDEX, "letter") in my GameController.CS. Maybe i can add a number to the different images name. Separeate the word in characters. Look the position of this character in the Letters[] and that number turn it into a string and find the image with that number in the name.
I really need help to figure this out.
Thanks in advance for any help.