Just add it to your gameobject and it will save its own position, rotation and scale and restore it after the next game launch.
saveMode – Transform save mode (OnApplicationExit, OnDisable, OnDemand). You can select more than 1 option here.
void Save()
This method saves current state of Transform (position, scale and rotation).
Last updated 10 months ago