- Home /
Question by
ChichoRD · Jan 22, 2021 at 04:07 PM ·
c#playerprefsondestroyondisableonapplicationquit
Does OnDisable()/OnStart() get always called OnApplicationClose?
Hi, I want to Save all my PlayerPrefs when you change of scene but also when the game closes; I could put a PlayerPrefs.Save()
inside this 3 methods to ensure they get saved but I'd like to increase perfomance and only save when necessary. So my question is: Which method is called either when the application shuts down and when the scene changes?
Comment