Quantcast
Channel: Questions in topic: "playerprefs"
Viewing all articles
Browse latest Browse all 1333

How to save a game

$
0
0
I've looked at several articles online in this community and unify and am still clueless. I'm trying to save multiple 2d arrays of x and y coordinates to be accessed later like a save file. This is to save a level of a board game so nothing will be actively changing as it's being saved. I've looked at playerprefs briefly and have looked into serialization and JSON. I don't understand entirely but I thought serialization could be used for permanent save files as well as network connections. I saw playerprefs and am unsure whether I could use it for arrays or if it could only store individual values as in 1 int, 1 float, and 1 string. Does anybody have a good tutorial or example to use this. Thank you!

Viewing all articles
Browse latest Browse all 1333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>