Description
This is a little example that shows how you can save the player’s position with persistence.
How it works
If you are standing on the ground, the script will save your position and rotation every 0.5 seconds. Upon receiving the persistent data from the server, it will return you to the position you originally found yourself in.
How to Use This Example
In Client
- join the world
- rejoin and you should be around the same position
In Editor
Add the prefab: PositionSync
to the scene, and done.