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

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

501. LAYABOX游戏实时语音之APP版本 [ 42%]

...sterAudioPlayListener(mCallback); setStoragePath(); } public void LeavePlatform() { leaveChatRoom(); logout(); uninit(); } private void uninit(){ YIMService.getInstance().uninit(); } public void login( final String userId){ that = this;//反射需要指定的对像,在抛到主线程后this的对...

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

502. [LayaNative2.2.0beta4] 无论是否删除或者替换layabox.ttf 都会直接crash 【有demo】 [ 41%]

...  TypeError: Cannot read property 'length' of undefined             for (var i = 0; i < text.length; i++) {                                      ^^                  TypeError: Cannot read property 'length' of undefined         at conchTextCanvas.measureText ...

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

503. dcc更新失效, 有代码, 100%复现, 三楼附临时解决办法 [ 38%]

...-7562/com.dihong.testdcc I/dalvikvm-heap: Grow heap (frag case) to 8.155MB for 944528-byte allocation 05-16 15:59:48.767 7562-7562/com.dihong.testdcc D/libEGL: loaded /system/lib/egl/libEGL_tegra.so 05-16 15:59:48.771 7562-7562/com.dihong.testdcc D/libEGL: loaded /system/lib/egl/libGLESv1_CM_tegra.s...

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

504. 缓存工具-layadcc · LayaAir3.3 · 引擎文档 · LAYABOX [ 37%]

...输出目录(保留历史记录需要覆盖) -h, --help display help for command Commands: genpatch [options] <inputDir1> <inputDir2> 生成补丁文件 checkout [options] <inputDir> 把dcc目录恢复成原始结构 例如, 生成DCC资源: layadcc2 ./resource -o ./dccout ...

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

505. laya.ui.List_API3.0 [ 36%]

...arr:Array = [];//创建一个数组,用于存贮列表的数据信息。 for (var i:int = 0; i < 20; i++) { arr.push({label: "item" + i}); } var list:List = new List();//创建一个 List 类的实例对象 list 。 list.itemRender = Item;//设置 list 的单元格渲染器。 list.repeatX = 1;...

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

506. 3D物理编辑 · LayaAir3.3 · 引擎文档 · LAYABOX [ 35%]

...影响,不会产生受力位移,运动刚体的位移只能通过transform改变节点坐标。 与2D的运动学类型刚体不同,LayaAir 3D的运动刚体脱离了物理引擎运动,即使设置速度也不可以使其位移。这样做的好处是减少了物理运算,节省了性能...

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

507. 2D寻路 · LayaAir3.3 · 引擎文档 · LAYABOX [ 27%]

...prite.getComponent(componentType); if (comp != null) { lists.push(comp); } for (var i = 0; i < sprite.numChildren; i++) { let child = sprite.getChildAt(i) as Sprite; this.findCompents(lists, child, componentType); } } //组件被激活后执行,此时所有节点和组件均已创建完毕,...

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

508. 一篇上手LayaAir的3D物理引擎(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 25%]

...影响,不会产生受力位移,运动刚体的位移只能通过transform改变节点坐标。 > 与2D的运动学类型刚体不同,LayaAir 3D的运动刚体脱离了物理引擎运动,即使设置速度也不可以使其位移。这样做的好处是减少了物理运算,节省了性能...

来源: Laya2.0_文档 发布时间: 20210715

509. 构建app闪退,测试app扫码可以运行 [ 23%]

.../com.layabox.hello A/art: art/runtime/java_vm_ext.cc:470] t.src:function(){for(var e,t=document.scripts,i=t.length-1,n=i;n>0;n--)if("interactive"===t[n].readyState){e=t[n].src;break}retutTO 2019-03-15 08:45:13.438 8214-8265/com.layabox.hello A/art: art/runtime/java_vm_ext.cc:470] �|�`r��|...

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

510. 使用3D摄像机 · LayaAir3.3 · 引擎文档 · LAYABOX [ 21%]

...is.camera = this.owner as Laya.Camera; if (this.target) { this.target.transform.position.cloneTo(this.curpos); this.delatpos = new Laya.Vector3(); } } /** * 每帧更新时执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 * 此方法为虚方法,使用时重写覆盖...

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