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

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

441. OPPO主包无法从分包中拿资源 [ 61%]

OPPO主包无法从分包中拿资源         Laya.loader.load(分包路径, Laya.Handler.create(null, function (obj: any)         {完全走不进来         })); 2020-08-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

442. 3D支持图集吗? [ 61%]

...的一个图片吗?  //2D加载图集 var texture: Laya.Texture = Laya.loader.getRes("magic/sg.png"); var sp = new Laya.Sprite(); sp.graphics.drawTexture(texture, 0, 0); Laya.stage.addChild(sp);   //3D加载图集 var box: Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(new Laya.PlaneMe...

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

443. 微信小游戏加载问题 [ 61%]

...CreateImage中onerror中做了处理的。但是wxMini环境我们却用的Loader中的onCreateImage onerror没做任何处理。           var onerror = function () {                 clear();                 delete MiniFileMgr.fakeObj[sourceUrl];   ...

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

444. 加载sk文件时,报Uncaught getUint16 error - Out of bounds [ 61%]

....loadAni('res/spine/knight/effect1.sk'); SK动画已经预加载了:Laya.loader.load(['res/spine/knight/effect1.png', 'res/spine/knight/effect1.sk'], Handler.create(this, init));

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

445. 3D角色动作播放时长不正确 [ 61%]

...sers/administrator/documents/myLaya/bin/libs/laya.core.js:452:29)     at LoaderManager.__proto._endLoad (file:///D:/Users/administrator/documents/myLaya/bin/libs/laya.core.js:11962:12)     at Loader.onLoaded (file:///D:/Users/administrator/documents/myLaya/bin/libs/laya.core.js:11941:11)     a...

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

446. SCALE_FIXED_WIDTH适配屏幕的问题 [ 61%]

...Laya.View.regComponent("ScaleButton", ScaleButton);             Laya.loader.load("res/atlas/com/loading.atlas", Laya.Handler.create(this, this.loadGame));         }         private loadGame(): void {             var resArray = [                 { url: "res/atlas/lobby/cre...

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

447. 如何将转换后导出的SWF文件左上方的FPS,MEM以及进度条取消? [ 61%]

...取失败,请检查后重新编译。 localToGlobal坐标转换 请问下loader如何强制加载一个文件,避免浏览器的缓存 用Mac下Unity5.6.2f1导出的模型在Mac浏览器显示正常,发布到移动端不显示模型,但是顶点数面数都有 我的tieldmap生成的json文件...

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

448. 微信小游戏中加载unity导出的场景报错the .lh file root type must be Scene [ 61%]

... content && (this._data=content);         if (this._cache)Loader.cacheRes(this._url,this._data);         this._customParse=false;         this.event("progress",1);         this.event("complete",(this.data instanceof Array)? [this.data] :this.data);     } ...

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

449. 关于image.skin = "图片地址"的资源加载失败的话有回调吗 [ 61%]

...请: 与内容相关的链接 提交 1 个回复 qian 赞同来自: Laya.loader.load().on(Event.ERROR,this,onError); 试一下 2018-01-30 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 132*****180 相关问题 请问LayaAir中如何使...

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

450. 无法触发浏览器文件上传框 [ 61%]

...n: string = 'images/button.png'; constructor() { Laya.init(200, 300); Laya.loader.load(this.skin, Laya.Handler.create(this, () => { this.btn = this.createBtn(this.skin); this.btn.on(Laya.Event.CLICK, this, this.onClick); })); } /** * 创建btn */ private createBtn(skin: string): Laya.Button { let...

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