votetake/vue-unity-webgl

Textinputs not working when I implemented Unity

Lozamded opened this issue · 1 comments

When I import a unity resource in to the index all text inputs, and text area stop working
Error
Console
the call:
<unity src="UnityResources/Build/cubito.json" width="600" height="400" unityLoader="UnityResources/Build/UnityLoader.js" ref="myInstance"></unity>

Finally I deactivate the keyboard on Unity using this in a script executed at the beggining
#if !UNITY_EDITOR && UNITY_WEBGL WebGLInput.captureAllKeyboardInput = false; #endif