大约有 1,081 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0069 秒)
...ject","budai"); budai.on(Laya.Event.CLICK,this,function() { console.log("点击了"); }); 这样不起作用呢
来源: Laya_社区 发布时间: 20180722
...s.create(); this.scene3d.addChild(sp3); }); }) } printProgress(res: any) { console.log("加载进度" + JSON.stringify(res)); } } 这里介绍一下printProgress打印的内容,在小游戏调试器平台打我们导出的项目后,连接vivo官网提供的调试地址会打印如下日志: ...
来源: Laya3.0_文档 发布时间: 20251010
...ass page2 extends Laya.Scene { constructor() { super() } onOpened (args) { console.log(args) } } 附件 : --> 2018-11-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 感谢分享~! ...
来源: Laya_社区 发布时间: 20181124
...有解决方案? 2.在界面中使用Laya.timer.frameLoop(1, function(){console.log(conch.config.getUsedMem())}),手机会出现闪退,并报错local reference table overflow (max=512) 3.在项目运行中闪退,报错为: 03-22 13:52:03.749 15130-15218/com.xmvigor.shyxcs A/art: art/runtime/...
来源: Laya_社区 发布时间: 20180322
...s.create(); this.scene3d.addChild(sp3); }); }) } printProgress(res: any) { console.log("加载进度" + JSON.stringify(res)); } } 这里主要介绍一下printProgress打印的内容,在抖音开发者工具打开并编译我们导出的项目后,会打印如下日志: (图4-2) tt.loadSubp...
来源: Laya3.0_文档 发布时间: 20251010
... { cell.setImg(cell.dataSource); } private onSelect(index: number): void { console.log("当前选择的索引:" + index); } } import Box = Laya.Box; import Image = Laya.Image; class Item extends Box { public static WID: number = 373; public static HEI: number = 85; private img: Image; constructor(...
来源: Laya2.0_文档 发布时间: 20210715
...onError); this.mFactory.loadAni(this.mAniPath); } private onError():void { console.log("error"); } private parseComplete():void { //创建模式为1,可以启用换装 this.mArmature = this.mFactory.buildArmature(1); this.mArmature.x = this.mStartX; this.mArmature.y = this.mStartY; this.mArmature....
来源: Laya_示例 发布时间: 20260303
...onError); this.mFactory.loadAni(this.mAniPath); } private onError():void { console.log("error"); } private parseComplete():void { //创建模式为1,可以启用换装 this.mArmature = this.mFactory.buildArmature(1); this.mArmature.x = this.mStartX; this.mArmature.y = this.mStartY; this.mArmature....
来源: Laya2.0_示例 发布时间: 20260303
... laya中js 调到 java 那边的方法 是在主线程吗 laya如何重写console.log 打印错误跟信息到自己写的日志面板上 如何确定自己是在Native环境中? worker.js的如何正确使用?所有资源都加载2遍,第一遍是在work.js所在的目录下,第二遍正常...
来源: Laya_社区 发布时间: 20170401
...s.create(); this.scene3d.addChild(sp3); }); }) } printProgress(res: any) { console.log("加载进度" + JSON.stringify(res)); } } 代码中printProgress会打印加载进度日志,效果如下所示: (图4-2) Copyright ©Layabox 2026 all right reserved,powered by LayaAir Engine更新时间...
来源: Laya3.0_文档 发布时间: 20251010