大约有 1,081 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0061 秒)
...功web版本没问题,有DEMO web端打包发布后能不能自动删除console.log 点击代码编辑模器 就提示无法打开代码编辑器 请配置 这个怎么解决? 问题状态 最新活动: 2024-10-23 21:10 浏览: 3767 关注: 2 人
来源: Laya_社区 发布时间: 20241016
...create(this,this.onAtlasLoad),"playerAnim"); function onAtlasLoad(){ console.log("图集加载完毕"); Laya.stage.addChild(playerAnim); } 所以我使用json是需要更多的设置吗 2018-06-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...
来源: Laya_社区 发布时间: 20180620
...到解决 在game.js中声明函数如下 window["sss"] = function () { console.log(123123123) }; 在laya中AS的调用代码如下 __JS__("sss()") 即可实现 2020-02-27 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Bolin 相...
来源: Laya_社区 发布时间: 20200227
...应,请问如何解决? window.onLayaInitError=function(e) { console.log("onLayaInitError error=" + e); alertExit("加载游戏失败,可能由于您的网络不稳定,请退出重进"); } 附加: 附件中我打印了一些日志,发现相关类和函数都还没...
来源: Laya_社区 发布时间: 20180125
...(1, this, () => { let interval = xxxxxx; this.tire.interval = interval; console.log("animation.index: " + this.tire.index); }); 另外说明: 只要不每帧改变interval 就不会卡住 附件 : --> 2020-10-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20201012
...qq.com/cgi- ... ot%3B, "", "get", "text"); function processHandler(data) { console.log(data); } function errorHandler(data) { alert(2); } function completeHandler(e) { alert(1); } } Laya.class(JiHuo, "ui.JiHuo", _super); return JiHuo; })(ui.JiHuoUI); 2018-04-19 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20180419
...= "gameover") { this.onGameOver(); } } } private onGameOver(): void { console.log("结束游戏...");} 附件 : --> 2018-05-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 Laya_Aaron 赞同来自: 有dmeo ...
来源: Laya_社区 发布时间: 20180524
..., Browser.clientHeight - btnHeight - 10, btnWidth, btnHeight); console.log("rect"+i+":"+rect); // btn_bottom[i].hitArea = rect; btn_bottom[i].on("click", this, bottomClick, [i]);[/i][/i][/i][/i][/i] 不加hitArea时,点击区域在左上方一小块,加了后...
来源: Laya_社区 发布时间: 20161202
... QZONE 微信 Supermang42 赞同来自: play( iNum: number ): void { console.log( iNum ); } 如上述的範例,函式( )內接收參數。 2018-03-31 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 185*****207 相关问题 两...
来源: Laya_社区 发布时间: 20180331
...使用wx对象 在初始化MiniAdpter之后,执行如下两个语句 console.log("type of wx is "+typeof(wx)); console.log("type of wx.config is "+typeof(wx.config)); 在PC上用chrome运行,wx的类型是object,wx.config是function,一切正常,但如果导出后用微信开发者...
来源: Laya_社区 发布时间: 20180724