Unity onapplicationquit webgl
Unity WebGL WebcamTexture webcam light stays on after disabling camera. Ask Question Asked 4 years, 5 months ago. Active 3 years, 6 months ago. Viewed 1k times 1 1. I'm using the following script to enable/disable the webcam on WebGL. It works fine on the Editor but on the browser, the webcam light stays on after disabling the WebcamTexture. ...Hello. I'm now developing a prototype for a clicker game with Unity for WebGL platform. But I just realized that OnApplicationQuit() doesn't work on WebGL build. At the moment, the prototype can be saved by using Save Button, but I think it's quite weird because I played a lot of clicker games on browser that save data when quitting.