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

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

71. t._addReference is not a function [ 80%]

...问题,解决了,供参考: Laya.loader.load(chapterBG, Laya.Handler.create(this, this.onBGLoaded, [chapterBG])/* , Laya.Handler.create(this, this.onBGLoadProgress) */); 第三个参数打开在某些条件下会出t._addReference is not a function 可能是加载进度回调的时候跑到纹...

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

72. 加载unity导出场景失败 [ 79%]

...WDT/bin/main/SMain.ls) extension with: ls.     at LoaderManager.__proto._create (file:///E:/LayaAir/ZJKZWDT/bin/libs/laya.core.js:12981:11)     at LoaderManager.__proto.create (file:///E:/LayaAir/ZJKZWDT/bin/libs/laya.core.js:12969:21)     at Function.Scene.load (file:///E:/LayaAir/ZJKZWDT/bin...

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

73. 加载.lh文件 运行后黑屏 无法显示 [ 79%]

...yaMonkey.lh", type: Laya3D.HIERARCHY, priority: 1}];     //Laya.loader.create(resource, Laya.Handler.create(this, this.onComplete));         Laya.loader.create("Export/LayaScene_JJF/Conventional/JJF.lh", Laya.Handler.create(this, this.onComplete));     }     public onComplete():v...

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

74. 微信小游戏报错 the .lh file root type must be Scene [ 79%]

... 微博 QZONE 微信 hejianchun 赞同来自: 3D的用这个 Laya.loader.create()接口; 2018-03-23 0 5 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 joshua0526 相关问题 关于微信小游戏关系链的问题 【屏幕适配】在Laya...

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

75. 加载的时候动画会卡 [ 79%]

...ont.json",type:Loader.ATLAS});         Laya.loader.load(imgArr,Handler.create(this,onAssetLoaded),Handler.create(this,onProgress,null,false));     }   (function() {     function Lload() {         Lload.__super.call(this);         this.dh();         this.btn.on(Event.MOUSE_DOWN,g...

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

76. 使用IDE制作的动画在pc模拟器播放OK在手机端不显示 [ 79%]

...','imgdebris/p1_slj.png',]; // this.loader.load(this.urls[0], Laya.Handler.create(this, this.onAssetloaded)); this.loader.load(this.urls,this.Handler.create(this,this.onAssetloaded),this.Handler.create(this, this.onLoading, null, false)); }, onAssetloaded : function(texture){ this.tl = new Laya.Anim...

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

77. 设置cacheAs = bitmap时, drawCanvas 的一个bug [ 79%]

...src._targets上 /* this._submits[this._submits._length++] = SubmitCanvas.create(src, 0, null); _curSubmit = SubmitBase.RENDERBASE; //画出src._targets //drawTexture(src._targets.target.getTexture(), x, y, width, height, 0, 0); */ //应用并清空canvas中的指令。如果内容需要重画,Rend...

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

78. HTMLCanvas Laya.stage.addChild(HTMLCanvas); 挂载到舞台报错 [ 79%]

...类后 加入舞台时报错   示例代码:   var div=Laya.HTMLCanvas.create=new HTMLCanvas("2D");      div.size(600,400);      Laya.stage.addChild(div);      console.log(div);  var myChart = echarts.init(div.getCanvas());  // 指定图表的配置项和数据 var option = { title...

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

79. tween 函数的单次执行任务数量问题 [ 78%]

...// "scaleX": 0,              // "scaleY": 0 },550,null,Handler.create(this,this.skillEffecting)); 如代码所示,如果写了四个需要变化的属性,前两个不会执行,只有后面的会执行。 分两个tween 写也是这样,是有什么不对的么?还是单次只能...

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

80. 加载.ls场景文件,销毁场景,再加载同一场景,想恢复初始状态,结果报错【附Demo】 [ 78%]

...andler.__proto.runWith (laya.core.js:1400)     at LoaderManager.__proto._createOne (laya.core.js:14594)     at LoaderManager.__proto._create (laya.core.js:14560)     at LoaderManager.__proto.create (laya.core.js:14514) 附件 : --> test_bug.zip 2019-01-24 1 条评论 免费帖 --> 分享 微...

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