Open ikakumon opened 5 months ago
WebGLTextInput.jslib第十行 canvasEle = document.getElementById('unity-canvas');貌似Unity2020前的版本这个id不同 增加以下内容应该就可以了 if(canvasEle == null ){ canvasEle = document.getElementById('unityContainer'); } 我只测了Unity2019.4.39的不知道其他版本行不行,不敢pullRequest
这个可能各个unity版本有差异,所以自己改改就是了
WebGLTextInput.jslib第十行 canvasEle = document.getElementById('unity-canvas');貌似Unity2020前的版本这个id不同 增加以下内容应该就可以了 if(canvasEle == null ){ canvasEle = document.getElementById('unityContainer'); } 我只测了Unity2019.4.39的不知道其他版本行不行,不敢pullRequest