Quantcast
Channel: Questions in topic: "webgl"
Viewing all articles
Browse latest Browse all 2390

How to allow text to be selectable in surrounding html in a WebGL build?

$
0
0
I don't need my WebGL game to consume mouse (or keyboard) events, but I do want the user to be able to use both mouse and keyboard in the html that contains my game. I have tried: #if !UNITY_EDITOR && UNITY_WEBGL WebGLInput.captureAllKeyboardInput = false; #endif The Manual provides no clues about turning-off consumption of mouse events: http://docs.unity3d.com/Manual/webgl-input.html

Viewing all articles
Browse latest Browse all 2390

Trending Articles



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