[LayaAir 1.0]官网的微信小游戏2D例子,发布以后无法运行
原样代码,一个字母不改,使用的是LayaAirIDE 1.8.8beta和LayaAir lib 1.8.7,直接发布到微信小游戏,
运行报错:
VM13:1 gameThirdScriptError
Laya is not defined
ReferenceError: Laya is not defined
at http://127.0.0.1:16026/game/code.js:29:15
at require (http://127.0.0.1:16026/game/__ ... :96033)
at http://127.0.0.1:16026/game/__ ... 95643
at http://127.0.0.1:16026/game/game.js:3:30
at require (http://127.0.0.1:16026/game/__ ... :96033)
at <anonymous>:1:1
at HTMLScriptElement.scriptLoaded (<anonymous>:18:21)
at HTMLScriptElement.script.onload (<anonymous>:30:20)
运行报错:
VM13:1 gameThirdScriptError
Laya is not defined
ReferenceError: Laya is not defined
at http://127.0.0.1:16026/game/code.js:29:15
at require (http://127.0.0.1:16026/game/__ ... :96033)
at http://127.0.0.1:16026/game/__ ... 95643
at http://127.0.0.1:16026/game/game.js:3:30
at require (http://127.0.0.1:16026/game/__ ... :96033)
at <anonymous>:1:1
at HTMLScriptElement.scriptLoaded (<anonymous>:18:21)
at HTMLScriptElement.script.onload (<anonymous>:30:20)
没有找到相关结果
已邀请:
要回复问题请先登录
0 个回复