• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 965 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0073 秒)

911. 抖音小游戏 · LayaAir3.0文档 · LAYABOX [ 39%]

...s.create(); this.scene3d.addChild(sp3); }); }) } printProgress(res: any) { console.log("加载进度" + JSON.stringify(res)); } } 这里主要介绍一下printProgress打印的内容,在抖音开发者工具打开并编译我们导出的项目后,会打印如下日志: (图4-2) tt.loadSubp...

来源: Laya3.0_文档 发布时间: 20240528

912. List属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 38%]

... { 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

913. 骨骼动画-Spine事件 [ 38%]

...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_示例 发布时间: 20241002

914. 关于安卓工程中的内存问题 [ 38%]

...有解决方案? 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

915. 骨骼动画-Spine事件 [ 38%]

...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_示例 发布时间: 20241002

916. 看看这是在打印什么?? [ 38%]

... laya中js 调到 java 那边的方法 是在主线程吗 laya如何重写console.log 打印错误跟信息到自己写的日志面板上 如何确定自己是在Native环境中? worker.js的如何正确使用?所有资源都加载2遍,第一遍是在work.js所在的目录下,第二遍正常...

来源: Laya_社区 发布时间: 20170401

917. laya.ui.Button_API3.0 [ 38%]

...andler.create(this,loadComplete));//加载资源 function loadComplete() { console.log("资源加载完成!"); var button = new laya.ui.Button("resource/ui/button.png","label");//创建一个 Button 类的实例对象 button ,传入它的皮肤skin和标签label。 button.x =100;//设置 button ...

来源: Laya3.0_api 发布时间: 20231115

918. laya.ui.CheckBox_API3.0 [ 38%]

...andler.create(this,loadComplete));//加载资源 function loadComplete() { console.log("资源加载完成!"); var checkBox:laya.ui.CheckBox= new laya.ui.CheckBox("resource/ui/check.png", "这个是一个CheckBox组件。");//创建一个 CheckBox 类的类的实例对象 checkBox ,传入它的皮...

来源: Laya3.0_api 发布时间: 20231115

919. Laya2自动同步cullingMask方案以及灯光裁剪补丁 [ 37%]

...yer = this._layerMap[layerStr]; if(layer === null || layer === undefined){ console.log(layerNodeName + ' don not match the rule of layer node.'); return; } if(bRemove){ this.removeLayer(target,layer); } else{ this.addLayer(target,layer); } } } } public static removeAllLayers(target) { target.culling...

来源: Laya_社区 发布时间: 20200110

920. 列表组件 · LayaAir3.0文档 · LAYABOX [ 36%]

... { cell.setImg(cell.dataSource); } private onSelect(index: number): void { console.log("当前选择的索引:" + index); } } class Item extends Laya.Box { static WID: number = 373; static HEI: number = 85; private img: Laya.Image; constructor() { super(); this.size(Item.WID, Item.HEI); this.img =...

来源: Laya3.0_文档 发布时间: 20230927