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

大约有 105 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0048 秒)

91. 3D中如何限制角色的行走区域? [ 42%]

...admin/layaA4/layaA4/bin/js/bundle.js:31003:24)     at Function.Sprite3D._parse (/Users/admin/layaA4/layaA4/bin/js/bundle.js:57045:21)     at Laya3D._onHierarchyInnerFirstLevResouLoaded (/Users/admin/layaA4/layaA4/bin/js/bundle.js:8825:123)     at Handler.__proto.runWith (/Users/admin/layaA4/la...

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

92. 只要引入protobuf就会导致连接网络失败 [ 42%]

...{     ConfigEventDispatcher.getInstance().on(ConfigEventDispatcher.CFG_PARSE_COM, this, parseCfgCom); // 解析游戏配置表数据 ConfigMgr.dataInfoComplete(); }    ConfigMgr.dataInfoComplete(); 里面有许多异步 这步卡住了  IDE运行没问题 layaTest9.zip 2018-02-08 0 0 分享 ...

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

93. Laya2.0编译后所有js都自动合并到bundle.js中,导致bundle.js过大,加载速度很慢,bundle.js可以拆分吗 [ 41%]

...'any' type. */     // "alwaysStrict": true,                  /* Parse in strict mode and emit "use strict" for each source file. */     /* Additional Checks */     // "noUnusedLocals": true,                /* Report errors on unused locals. */     // "noUnusedParameters": tr...

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

94. [0]laya-zip游戏加载提速库(Laya3.0版本适配更新) [ 39%]

... ZIP: 下载zip包的耗时UnZip Dir: 解压zip包目录结构的耗时Parse Files: 解压zip包的文件总个数和耗时Load Zip Total:从压缩包下载前到资源加载完毕后的总耗时 如果需要关闭调试可以:[code]// Turn off time-consuming printing LayaZip.DeBug = false...

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

95. 关于LayaBox启动的问题。 [ 38%]

...... 75.44 s=0 l=4529044 I/LayaBox (12689): download end I/LayaBox (12689): parse:normal 100 16px Arial,fontinfo:size:16,family:Arial E/LayaBox (12689): download file error[1]:file:///data/data/com.klzz.platform/cache/LayaCache/localstorage/logo/logo.png I/LayaBox (12689): require(/sdcard/layabox/scr...

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

96. 本地双击html如何打开laya项目? [ 36%]

... && file.exists() && file.isFile()) { i.setDataAndType(Uri.parse("file://" + filePath), "application/vnd.android.package-archive" ); i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); context.startActivity( i); return true ; } return false ; }  安装完之后,我们只需要根据apk的...

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

97. laya.d3.core.light.DirectionLight [ 35%]

...tObject:*, srcRoot:Node, dstRoot:Node):void[override] 克隆。 Sprite3D _parse(data:Object, spriteMap:Object):void[override] LightSprite  _prepareToScene():Boolean[override] 更新平行光相关渲染状态参数。 DirectionLight addChild(node:Node):Node 添加子节点。 Node addChildAt(no...

来源: Laya2.0_api 发布时间: 20190513

98. Socket能连接到服务器,客户端发请求也能收到服务端的数据,但是服务端主动推送数据,客户端就是收不到数据? [ 34%]

...==message============="); if (message is String) { var dataObj:Object=JSON.parse(message); trace("Message from server:"+dataObj+"-----------"+dataObj.status); if(dataObj.messageType){ trace("Reveive message type"+dataObj.messageType); } if(dataObj!=null){ if(dataObj.status == "S" || (dataObj.body &a...

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

99. 打包成APK运行一半崩溃 [ 32%]

...ndex failed 04-11 11:17:09.960    8591-8658/com.mygame.laya I/LayaBox﹕ parse:normal 100 16px Arial,fontinfo:size:16,family:Arial 04-11 11:17:09.965    8591-8658/com.mygame.laya E/LayaBox﹕ download file error[1]:file:///data/user/0/com.mygame.laya/cache/LayaCache/localstorage/logo/logo.png 04...

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

100. laya.d3.core.MeshTerrainSprite3D [ 29%]

..., rootSprite:Node, dstSprite:Node):void[override] 克隆。 MeshSprite3D _parse(data:Object, spriteMap:Object):void[override] MeshSprite3D _setBelongScene(scene:Node):void[override] RenderableSprite3D _setUnBelongScene():void[override] RenderableSprite3D addChild(node:Node):Node 添加子节点...

来源: Laya2.0_api 发布时间: 20190513