Make a database or use playerprefs?

Hello!

Kinda new to unity, but making a laddergame and need some help.
The point of the game is to make a gridscript which are splitting the terrain in squares. A player got i a piece, and will go on to the next square if he can answer the question correct. Its a game which should learn children from 4-7 years how to do math. And a teacher should be able to manage to keep track how the children is doing.
On each question, its possible to buy hints. I was planning to save the questions, hints and usernames in a database. But read about Playerprefs and wonder if its possible to save like 40 question and 80 hints and some username with playerprefs?

Friendly, HeadBlast

you could but I’d be tempted to put it into a text file and put the text file in the resources folder. Then on startup read it in and parse the data into a C# Dictionary.

Actually just realised you can’t use playerprefs. Playerprefs is something your app reads and writes to. you can’t ship a product with a pre filled in playerprefs. Your app can set a few flags etc. but if you have all myour data in a file already to be able to write it to playerprefs then you may as well have had it in a file in resources to start with.

Thanks for the answer Arkon. And indeed, it sounds more logical and i’ll probably do it that way:)