This is the first time im having something save and load in game. The player instantiates some objects, how could i save the object position, and how could i load them. Is there a tutorial for this?
Is there a way to do it so it loads even tho your in a web player?
I doubt cookies will work cuz cookies get deleted over timev:face_with_spiral_eyes:
sorry i double posted… bad internet right now
Wait…? how does that save the position or load??
By storing and loading variables; a position is made of 3 floats. See here for a way to simplify it.
–Eric
Hi
PlayerPrefs saved variables, but is there any way of saving gameobjects, for example if the player instantiated something and wants to save that?
you can save a reference to the gameobject in playerprefs or if you want the object saved you will need to serialize it to xml or binary.
Thanks, but do you have any link for an explanation?