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

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

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

...at conchTextCanvas.measureText (apploader.js:338:34)         at Text.__proto._parseLines (http://stand.alone.version/lib ... 784:53)         at Text.__proto.typeset (http://stand.alone.version/lib ... 8727:8)         at LaterHandler.__proto.run (http://stand.alone.version/lib ... 207:45)...

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

162. Laya.Pool.getItemByClass 闪退 [ 83%]

...yce/Desktop/Work/Web/CatchFish/bin/js/GameView.js:83:26) at TimerHandler.__proto.run (file:///Users/heboyce/Desktop/Work/Web/CatchFish/bin/libs/laya.core.js:9624:45) at Timer.__proto._update (file:///Users/heboyce/Desktop/Work/Web/CatchFish/bin/libs/laya.core.js:9357:16) at Stage.__proto.render (fil...

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

163. 微信小游戏默认项目代码添加unity导出.lh文件,微信开发工具提示错误 [ 83%]

...ust be Sprite3D,please use other function to load this file. at Sprite3D.__proto.onAsynLoaded (http://127.0.0.1:51205/game/code.js:82641:10) at ResInfo.onLoaded (http://127.0.0.1:51205/game/code.js:12995:61) at EventHandler.__proto.runWith (http://127.0.0.1:51205/game/code.js:711:59) at ResInfo.__pr...

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

164. Dialog 关闭效果无效 [ 83%]

... CommonDlg.super(this); } Laya.class(CommonDlg, "CommonDlg", _super); var _proto_ = CommonDlg.prototype; _proto_.closeEffect = Laya.Handler.create(null, this.onCloseEffect, null, true); _proto_.onCloseEffect = function () { console.log("in on close effect") this.close(); } return CommonDlg; })(Laya....

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

165. mac 下翻译出来的顺序问题 [ 83%]

...Submit=false; } __class(SaveBase,'laya.webgl.canvas.save.SaveBase'); var __proto=SaveBase.prototype; Laya.imps(__proto,{"laya.webgl.canvas.save.ISaveData":true}) __proto.isSaveMark=function(){return false;} __proto.restore=function(context){ this._dataObj[this._valueName]=this._value; SaveBase._cach...

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

166. TypeError: Laya.MovieClip is not a constructor [ 82%]

.../mini-game-client/minigame1/bin/js/bundle.js:2939:14)   at LaterHandler.__proto.run (file:///D:/1MiniGame/mini-game-client/minigame1/bin/libs/laya.core.js:6143:45)   at CallLater.__proto._update (file:///D:/1MiniGame/mini-game-client/minigame1/bin/libs/laya.core.js:6066:14)   at Stage.__proto.ren...

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

167. 这个GetType=null的问题有大神解答下吗 [ 82%]

...D:/Documents/myLaya/test/bin/libs/laya.physics.js:810:170)   at Physics.__proto._update (file:///D:/Documents/myLaya/test/bin/libs/laya.physics.js:1792:14)   at TimerHandler.__proto.run (file:///D:/Documents/myLaya/test/bin/libs/laya.core.js:7533:45)   at Timer.__proto._update (file:///D:/Documen...

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

168. 嵌套类型的protobuf报错 [ 82%]

嵌套类型的protobuf报错 message LoginResult {  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 Ser...

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

169. 微信小游戏里面开放数据域的资源加载问题 [ 82%]

...niFileMgr.readFile (http://127.0.0.1:63435/game/op ... 418:14) at Loader.__proto.load (http://127.0.0.1:63435/game/op ... 115:18) at LoaderManager.__proto._doLoad (http://127.0.0.1:63435/game/op ... 296:10) at LoaderManager.__proto._next (http://127.0.0.1:63435/game/op ... 269:26) at LoaderManager._...

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

170. 如何获取微信小游戏 关系链文档中提到的上屏? [ 82%]

...自: 使用window.canvas.getContext('2d') 报错: Cannot set property '__proto__' of null TypeError: Cannot set property '__proto__' of null     at HTMLCanvasElement.n.getContext (http://127.0.0.1:51595/game/__ ... :23503)     at LayaUISample.__proto.drawfriendicon ( 2018-03-26 0 1 分享 微博...

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