I would like to be able to save the location and rotation of each part of a building when the player logs out, then load those components back to their locations and rotations when the player logs back on? I am not asking for help with coding a way to construct the building, I just need a way to make it savable. Preferably converting the data back and forth from a string. This is because the only data I know how to transfer between the game’s Online database and the game itself, is by strings.
How do i convert each object’s location to a string then when the player logs back in that string is used to spawn the buildings parts back to where they origionally were?
Put the object locations into an instance of a plain Class (not a monobehaviour). Then serialize the instance of the class to a string (XML) using XMLSerializer. Load that string at startup, and save that string at shutdown.
How many more threads are you going to ask pretty much the same question? Like this one:
That one has tons of resources, videos even… did you watch them? Have you applied the knowledge gained to anything? And if so… and you’re still having problems… how about you ask more specific questions. Like I said in another thread, these broad questions are bordering on code begging.