> > Also, as another question, how can I add hint buttons at each level? Thanks.
> Can you explain a bit more on what you want the hint button to do? And how is your level setup?
I have a word game, there are at least 2 and at most 5 words that should be present in each level. If the player is unable to find one of these words if it cannot be found, I want it to be a pop-up window when the hint button is pressed and a text box showing what the word is about.
Is your data per level stored in an array separately? If so then add an additional layer in the array that stores the hints value. Then add a hidden layer in the game screen with the UI that would pop up and use Array.At(loopindex, xxx) to pick the hint data.
In my quiz game, the array has row for quiz question, quiz index, quiz hint. Then to load each question I use a variable (you can use loopidex as well) which I increment by 1 so it loads the next question.
Since my variable tracks the current question, then when you click on hint button, it runs Array.At(variablename, 2).