Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

RenderTexture loses content

$
0
0
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 ?.

Viewing all articles
Browse latest Browse all 171066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>