大约有 220 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0058 秒)
...r bridge = Laya.PlatformClass.createClass("JSBridge");//创建脚步代理 alert(bridge.call("testString:","hello")); xcode 上的日志: 2020-02-28 17:05:36.608746+0800 djs[18049:1771019] 1 [-1] [1] [JSBridge] [testString:] [["hello"]] 2020-02-28 17:05:36.609592+0800 djs[18049:1771019] alert=u...
来源: Laya_社区 发布时间: 20200228
...WebSocket("wss://login.huanxi.twbuyu.com:27777"); ws.onopen = function() { alert("connect success~"); ws.send('tom'); alert("send to server msg: tom"); }; ws.onmessage = function(e) { alert("accpet msg: " + e.data); }; ws.onerror = function(e) { alert("error: " + e); console.log(e) }; </script>...
来源: Laya_社区 发布时间: 20181018
构建好android studio项目后,debug出错 I/LayaBox: alert=undefined:5155: SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode let runtime = json.props.runtime; ^^^ SyntaxError: Block-scoped declarations (let, const, function, class) not y...
来源: Laya_社区 发布时间: 20180724
... function onOrientationChange(absolute, info) { if (info.alpha === null) { alert("当前设备不支持陀螺仪。"); } else if (firstTime && !absolute && !Browser.onIOS) { firstTime = false; alert("在当前设备中无法获取地球坐标系,使用设备坐标系,你可以继续观赏,但...
来源: Laya_示例 发布时间: 20251209
...absolute, info) { const Browser = Laya.Browser; if (info.alpha === null) { alert("当前设备不支持陀螺仪。"); } else if (firstTime && !absolute && !Browser.onIOS) { firstTime = false; alert("在当前设备中无法获取地球坐标系,使用设备坐标系,你可以继续观赏,但...
来源: Laya2.0_示例 发布时间: 20251209
...发者工具打开之后就出现了这个错误: gameThirdScriptError alert is not defined ReferenceError: alert is not defined at Function.Laya3D.init (http://127.0.0.1:38102/game/code.js:67387:4) at new Main (http://127.0.0.1:38102/game/code.js:111146:16) at http://127.0.0.1:3...
来源: Laya_社区 发布时间: 20180620
...ext.text='HAHAHAHAHAHAHAHAHAHAHHAHAHAHHAHAHAH'; Laya.stage.addChild(text); alert(text.textField.textWidth); alert(text.textField.textHeight); 2017-04-26 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 157*****121 相关问题 发起问题...
来源: Laya_社区 发布时间: 20170426
3D导出微信小程序 gameThirdScriptError alert is not defined ReferenceError: alert is not defined at Function.Laya3D.init (http://127.0.0.1:54904/game/code.js:72182:4) at LayaAir3D ( 2018-05-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20180506
... function myfunc() { var url = "http://43.254.151.248/sf_serve ... 3B%3B alert("url=" + url); var req = new laya.net.HttpRequest(); req.on(laya.events.Event.COMPLETE, null, cb_onSuccess); req.on(laya.events.Event.ERROR, null, cb_onFail); req.send(url); } function cb_onSuccess(response) { alert("resp...
来源: Laya_社区 发布时间: 20161103
...组push(c); c.destroy(); d[0]里的对象应该是被destroy()了 但是 alert(d[0]==null)返回的是false alert(d[0].visible);返回的是d[0]是个空对象 。。。。。 怎么判断d[0]里的值是被destroy的值,不要说直接赋值为null, 我就想知道怎么判断是否destroy 20...
来源: Laya_社区 发布时间: 20180123