Unity Drag and Drop Quiz Game. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Unity Drag and Drop Quiz Game.

I already have drag an drop but how can I make that everytime I drag the object toward to the slot, there's a Object that pop up and say "Correct" or "Wrong".

23rd Aug 2018, 10:30 PM
Mugiwara
Mugiwara - avatar
2 Answers
0
You could use collision detection and check it with a simple if/else to see if the answer matches the object tag. You could update a gui text box with a result. You could instantiate a popup object with the result. You could have a red light and a green light. There are a million ways to accomplish this. Think outside the box
24th Aug 2018, 12:28 AM
LordHill
LordHill - avatar
0
Thanks, I'll try it.
25th Aug 2018, 9:17 AM
Mugiwara
Mugiwara - avatar