Unity - a question on database with a difference

Goo evening people,

I am new to the forum but i was wondering if anyone could help or possibly point me in the right direction. I am trying to build an educational type of game i suppose and i have my player, my assets in my world and certain triggers that do things but one thing i need i cant seemt o get my head a round or dont know where to begin

I want my character to be able to for instance walk up to an object with text on saying for i.e. what is 1 + 1 or a question like “Where is it Italy” and you would have a couple of questions in the GUI like europe, asia they would then click a gui button or something and that input the user put in would save to a text or word file or maybe saved in a web browser via database.

The question is can this be done in Unity and if so how, or is there anything similar in the asset store i could implement in my game. An help would be greatly appreciated.

Kind regards
:smile:

The genericness of the answer must reflect the genericness of the question :stuck_out_tongue:

Use a trigger zone to send a message to your GUI handler to bring up some list of answers. Your GUI handler sends a string to a System.IO file or out to the web browser (there are loads of 'how-to’s for file/web IO already).

Hi there thanks for the response,

I understand how to use triggers how would i go about doing the rest. so my character walk to an object and that triggers the gui with the
question on it, when they enter the data in the gui and click a gui button it generates the question in a browser or text file. could
you send me some code so i get soe sort of idea or a screenshot of what you mean, i would be grateful. Just looking for starting point then
i can start from there.

kindest regards