This is how i did it

I only used 1 line of code to set the questionText when the answer was incorrect, is how i did it fine or is there an issue with how i did it? It worked fine but I want to make sure i didnt learn how to do this in a way that will cause me problems later.

Hi Thom,

Good job on developing your own solution. Generally, game developers are not clairvoyants. It’s called “game development” for a reason. Don’t worry about non-existent problems. :slight_smile:

In many cases, there are multiple ways to make something work in Unity, and Rick cannot show all of them. If your code works, it’s a solution by definition. And if you knew what you were doing when you wrote this code, I’m sure that you will be able to solve problems related to your code if there are any problems.

Keep up the good work! :slight_smile:


See also:

Okay thank you, I did come across an issue later but managed to fix it so it is works fine now.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms