大约有 196 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0036 秒)
...e/bin/h5/res/atlas/comp.json. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.__proto.send @ firstGame.max.js:9742 firstGame.max.js:9137 [warn]Retry to load: F:/Laya/Project/firstGame/bin/h5/res/atlas/comp.json fir...
来源: Laya_社区 发布时间: 20170108
...is.paper.displayObject.height, 0,0); htmc.destroy(); --------》 __proto.destroy=function(){ this._ctx && this._ctx.destroy(); this._ctx=null; } 在这里,this.ctx并没有destroy方法,native上直接崩溃 2018-12-19 0 1 分享 微博 QZO...
来源: Laya_社区 发布时间: 20181219
...目录%\resources\app\out\vs\layaEditor\h5\layabuilder.max.js,搜索“__proto.parseTsImport”,修改该函数体内容:__proto.parseTsImport=function(str){ var tStr = str.replace("import",""); str = 'from'; str = tStr.indexOf(str) > -1 ? str : '='; tStr = StringTool$1.trimSide(tStr.split(...
来源: Laya_社区 发布时间: 20200727
... } Laya.class(Test01, 'view.Test01', _super); var _proto = Test01.prototype; _proto.preload = function (complete) { console.log("preload..." + (++this.numPreloadCalls)); if (this.dragon_sk._templet) { complete...
来源: Laya_社区 发布时间: 20180622
...* *加载层级文件,并作为该节点的子节点。 *@param url */ __proto.loadHierarchy=function(url){ this.addChild(laya.d3.core.Sprite3D.load(url)); } 这个函数也是会出问题的 2017-08-09 0 0 分享 微博 QZONE 微信 183*****755 赞同来自: 请使用最新版引擎,如果还...
来源: Laya_社区 发布时间: 20170808
...判断type失败: /** *@inheritDoc */ __proto.onAsynLoaded=function(url,data,params){ var json=data[0] if (json.type!=="Scene"){ if (url == "scene/Demo_Interiors.ls"){ console.log(data[0]); throw new Error("Scene: the .lh file root type must be Scene,...
来源: Laya_社区 发布时间: 20180101
...orm/app_game/app/com.qire.SplashOppo/1/code.js:0:0 STACK: [0]__proto._create@/data/user/0/com.nearme.instant.platform/app_game/app/com.qire.SplashOppo/1/code.js:13260 [1]__proto.create@/data/user/0/com.nearme.instant.platform/app_game/app/com.qire.SplashOppo/1/code.js:13248 [...
来源: Laya_社区 发布时间: 20190711
...i readFile success callback function Error。经过调试发现code.js中__proto.onAsynLoaded 方法里面var json=data[0]有问题,data本身是json字符串,data[0]为{,虽然将这里改了,但是加载还是有问题。 2018-09-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20180927
...NativeCallBack (http://127.0.0.1:38746/game/code.js:41764:25) at Handler.__proto.runWith (http://127.0.0.1:38746/game/code.js:709:28) at Function.success (http://127.0.0.1:38746/game/code.js:34388:33) at Object.success (http://127.0.0.1:38746/game/__ ... :20858) at c (http://127.0.0.1:38746/game/__ ...
来源: Laya_社区 发布时间: 20180803
... 只要改一下代码 让他别在屁股后面加 .scene就可以了 __proto.loadScene=function(path){ var url=path.indexOf(".")>-1 ? path :path+".scene"; var view=Laya.loader.getRes(url); 附件 : --> Test2.1_.0_.rar 2019-08-08 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20190808