- Home /
known about press pause button from menu bar
I use Time.realtimeSinceStartup to translate my object,
when I press pause in the menu,Time.realtimeSinceStartup get increasing,
so I should be notified then record the pause time. when unpause I should skip the pause time
Question is
Can I know about press pause button in the menu bar?
ps:OnApplicationPause not work
Comment
Are you asking how to know when the pause button is pressed?
You should say that in the question then. I do not know how to do editor scripting, sorry.