Persistent Object
A Persistent Object will have its position saved, so when a game is loaded, the object appears in the last place it moved to, instead of its default position in the scene.
Properties
A Persistent Object contains a single property, Persistent Object Component, with the following properties.
Persist Object Position
If true, the object position is saved so that the object will spawn at the saved location next time a game is loaded. This requires at least one of Save On Level Unload, or Save On Game Save.
Save On Level Unload
If true, the position will be saved when a level is unloaded.
Save On Game Save
If true, the position will be saved when the game is saved.
Dependencies
A UUID script is required, which is automatically added upon adding the Persistent Object script.
Last updated