How to save game modifications to editor

Hi everyone!

Unity allows to change script vars from editor in game mode, some times i need to modify some vars like (position, rotation, scale, camera setting, custom scripts settings, etc) in game mode. But when I will return to editor mode, all modifications disappears (that’s make sense of course).
So maybe some body nows, how to save settings that was modified in game mode?

1 Answer

1

Vanilla Unity doesn’t allow for changes made in play mode to be saved. The point being that you can experiment with positioning or whatever in real-time but not affect the actual state of the scene.

If you want this functionality, there are scripts out there. Use Google. I know for a fact there’s something on the asset store (“Playmode Persist” I think), but it costs money.

got it, thx.