I draw to Rendertexture and i need to do this once , but after i turn on system Lock(win+l)or just switch user, RenderTexture lose content and i should render it again. I dont know how to detect system logoff and other similar system events especially in webplayer , events like OnApplicationQuit and Pause wont fire. Render every frame or n frames does not seem a good idea for me. How i can detect system events like Lock ?.
↧