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

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

311. 嵌套类型的protobuf报错 [ 89%]

...sult {  required int32 result = 1;  optional string authToken = 2;  repeated ServerInfo serverList = 3;  optional int32 platformErrorCode = 4;  optional string par1 = 5;  optional string par2 = 6;  optional string recommendedUId = 7; } message ServerInfo {  required int32 id = 1;  required ...

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

312. 【求助】关于Cannot read property 'visible' of undefined问题 [ 89%]

...d property 'visible' of undefined问题 我的代码是这样子的: private function showFoods():void{ foodSprite = new Sprite(); Laya.stage.addChild(foodSprite); this.index = 0; foodsList = new Array(); foodsList.push(new Food("菜品1", "1", 0)); foodsList.push(new Food("菜品2", "2", 1)); foo...

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

313. 使用2.6引擎版本vscode开发不支持async await语法 编译出现提示缺少tslib错误 [ 89%]

...tax requires an imported helper but module 'tslib' cannot be found.     at error (D:\Program Files\nodejs\node_global\npm\node_modules\layaair2-cmd\node_modules\rollup\dist\shared\node-entry.js:5400:30)     at throwPluginError (D:\Program Files\nodejs\node_global\npm\node_modules\layaair2-cmd\...

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

314. 发布微信小游戏出现错误at api readFile success callback function 什么原因 [ 89%]

发布微信小游戏出现错误at api readFile success callback function 什么原因 附件 : --> 2018-04-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w1114367261 赞同来自: 你查看下你的代码问...

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

315. 发布到微信报错:Uncaught ReferenceError: Laya is not defined at laya.wxmini.js:1345 [ 89%]

发布到微信报错:Uncaught ReferenceError: Laya is not defined at laya.wxmini.js:1345   附件 : --> 2019-08-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要...

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

316. 请问2.0中js怎么加天空盒子或穹顶,官网例子运行报错。 [ 89%]

...ld(new Laya.Camera(0, 0.1, 100)));//添加照相机 camera.transform.translate(new Laya.Vector3(0, 3, 3)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); camera.addComponent(CameraMoveScript); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //camera.clearColor =null; //天空...

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

317. unity 3d 骨骼动画资源到处 KeyNotFoundException: The given key was not present in the dictionary 问题 [ 89%]

...m.Collections.Generic.List`1[System.String]].get_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150) LayaExport.DataManager.saveLaniData (UnityEngine.GameObject gameObject, .JSONObject obj) LayaExport.DataManager.getAnima...

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

318. exception info:[ReferenceError: can't find vardiable:laya] at line 1 [ 89%]

exception info:[ReferenceError: can't find vardiable:laya] at line 1 以前的老项目用新版的layanative 构建 iOS单机app,运行出现这个报错。这个老项目也是个单机版。 不知道什么原因 2017-09-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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

319. 微信环境下面Laya.Browser.window.protobuf.load不能读取本地的proto文件 [ 89%]

...来啊: protobuf.js中的这句: return Function.apply(null, keys.concat("return " + source)).apply(null, keys.map(function(key) { return scope[key]; })); // eslint-disable-line no-new-func 出来这个错误: WAGame.js:3 gameThirdScriptError Cannot read property 'apply' of undefined;at api re...

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

320. [TMA][ERROR][RUNTIME] thirdScriptError undefined;at api readFile success callback function [ 89%]

[TMA][ERROR][RUNTIME] thirdScriptError undefined;at api readFile success callback function 调用资源加载,不管是异步加载还是预加载,在Android平台没问题,到IOS平台就报这个错:   [TMA][ERROR][RUNTIME] thirdScriptError undefined;at api readFile success callback...

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