大约有 5,082 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0098 秒)
试图用官方的sample打apk包,结果打了3天没出,各种报错,无奈只能先弄个hello试试,竟然成功了,然而sample还是不行 步骤如下 1.创建项目 2.在src文件夹中的LayaSample.js中添加如下代码 3.运行一下,用layaair调试模式 4.点...
来源: Laya_社区 发布时间: 20171108
[LayaAir3]LayaNative ios使用TTF字体启动奔溃 libFontParser.dylib`TSFNTFont::EnumerateTableTags: 0x1c1b38ee4 <+0>: sub sp, sp, #0x40 0x1c1b38ee8 <+4>: stp x22, x21, [sp, #0x10] 0x1c1b38eec <+8>: stp x20, x19, [sp, #0x20] 0x1...
来源: Laya_社区 发布时间: 20240124
...umentationAll Packages | All Classes | Index | Frames No Frames TimerProperties | Methods Packagelaya.utilsClasspublic class TimerInheritanceTimer Object Timer 是时钟管理类。它是一个单例,不要手动实例化此类,应该通过 Laya.timer 访问。 Public Properties Propert...
来源: Laya2.0_api 发布时间: 20190513
...rchy RenderableSprite3D SkinnedMeshSprite3D Index Constructors constructor Properties _extra _scene _url name tag BONES LIGHTMAP LIGHTMAPSCALEOFFSET LIGHTMAP_DIRECTION PICKCOLOR REFLECTIONCUBE_HDR_PARAMS REFLECTIONCUBE_PROBEBOXMAX REFLECTIONCUBE_PROBEBOXMIN REFLECTIONCUBE_PROBEPOSITION REFLECTIONTEX...
来源: Laya3.0_api 发布时间: 20231115
微信小游戏中加载unity导出的场景报错the .lh file root type must be Scene 报错:the .lh file root type must be Scene。 看了下代码,是读取的.ls文件并不是按照数组方式读取的,而是安装字符串读取进来的,所以导致判断type失败: /**...
来源: Laya_社区 发布时间: 20180101
闪屏,报错信息如下 02-05 16:53:06.997 24700-24824/? E/chromium: [ERROR:texture_manager.cc(2971)] [.Offscreen-For-WebGL-0x7c8dec00]GL ERROR :0x0505 : glTexImage2D: <- error from previous GL command 02-05 16:53:07.013 24700-24700/? I/chromium: [INFO:CONSOLE(0)] "[.Offscreen-For-WebGL-0x7c...
来源: Laya_社区 发布时间: 20180205
...ntationAll Packages | All Classes | Index | Frames No Frames MapLayerProperties | Methods | Events Packagelaya.mapClasspublic class MapLayerInheritanceMapLayer Sprite Node EventDispatcher Object 地图支持多层渲染(例如,地表层,植被层,建筑层等) 本类就是层级...
来源: Laya2.0_api 发布时间: 20190513
...ntationAll Packages | All Classes | Index | Frames No Frames MapLayerProperties | Methods | Events Packagelaya.mapClasspublic class MapLayerInheritanceMapLayer Sprite Node EventDispatcher Object 地图支持多层渲染(例如,地表层,植被层,建筑层等) 本类就是层级...
来源: laya_api 发布时间: 20170929
升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cannot be invoked without 'new' 将tsconfig.json里的"target":"es6"改为"es5"会报错: Uncaught TypeError: Class constructor Sprite cannot be invoked without 'new' 会升级到2.2.0Beta主要是看升级日志里,这个...
来源: Laya_社区 发布时间: 20190812
2.0 添加场景雾之后 粒子特效离原点越远 效果越淡 代码添加场景雾: //添加3D场景 GamePanel.curScene = Laya.loader.getRes("res/LayaScene_wu/Conventional/wu.ls"); Laya.stage.addChildAt(GamePanel.curScene, 0); //开启雾化效果 GamePanel.curScene.enableFog = true; //设...
来源: Laya_社区 发布时间: 20190412