hi.I am new on unity and i didnt build any game before.i want build a “who wants to be a millionaire” style quiz game but i have no idea to how i will do it. i will use C#.
Can you suggest me some tutorials or something else ? thank you .
1 Like
Hello,
I built a similar game, using unity script … you would not have an issue converting it to c#
So here it goes:
i create a folder named questions in the Resources folder.
Then added # of question like :
q1.xml
q2.xml
formatted like this:
<?xml version="1.0" encoding="utf-8" ?>
<Question Text="what is unity? ">
<Answer1 Text="banana" Correct="False"></Answer1>
<Answer2 Text="apple Correct="False"></Answer2>
<Answer3 Text="cat" Correct="False"></Answer3>
<Answer4 Text="game engin" Correct="True"></Answer4>
</Question>
Then I used the new UI to create: a text to hold the question and 4 buttons to hold the answers
the code i used can be find here : xml Expert help needed - Questions & Answers - Unity Discussions
have fun
2 Likes
You can check out this project. It is open source and anyone can contribute.
3 Likes
how to replace a question in the asset
1 Like
