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

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

131. laya 2.0 微信小游戏排行榜提示wx.getFileSystemManager is not a function [ 74%]

...到了2.1.0beta,每个版本的laya.opendata.min.js文件里都用到了this.fs=wx.getFileSystemManager(), 所以就是所有版本都不能正确运行,都会报 wx.getFileSystemManager is not a function; 是不是laya2.0根本用不了子域项目   2019-06-18 0 7 分享 微博 QZONE 微信...

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

132. [IDE2.7.0]unity插件导出加载提示Uncaught Scene data is error:sample/Conventional/Main.ls [ 74%]

...通过 Laya.Scene.load('sample/Conventional/Main.ls',Laya.Handler.create(this,this.onComplete)); 这个语句调用就报错了,我断点发现props这个属性是undefined的 if (!obj.props)                     throw "Scene data is error:" + url; 2020-08-04 添加评论 免费帖 --> ...

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

133. 为什么会出现报错 ani not found:ufo1_down [ 74%]

... var Game = (function(){ (function Game(){ // 子弹发射偏移位置表 this.bulletPos = [[0],[-15,15],[-30,0,30],[-45,-15,15,45]]; // 关卡等级 this.level = 0; // 升级等级所需要的成绩数量 this.levelUpScore = 0; // 积分成绩 this.score = 0; // 子弹级别 this.bulletLevel = 0; ...

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

134. 在UI类里调用启动类的静态函数失败了 [ 74%]

...l: "res/atlas/comp.atlas", type: Laya.Loader.ATLAS }], Laya.Handler.create(this, this.onLoaded), Laya.Handler.create(this, this.onLoading)); } static aaa(): void { } private onLoaded(): void { var info = new view.GameInfo(); info.zOrder = 99;//置最顶,这句话不写图层看不见 // info.init();...

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

135. phasorSpriter3D 无法使用 [ 74%]

phasorSpriter3D 无法使用 Laya.timer.frameLoop(1, this, () => { this.phasorSpriter3D = new Laya.PhasorSpriter3D(); var _color = new Laya.Vector4(1, 0, 0, 1); var _corners = new Array<Laya.Vector3>(); _corners[0] = new Laya.Vector3(); _corners[1] = new Laya.Vector3(); _corners[2] = new L...

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

136. laya2.0微信开发域无法显示 [ 74%]

...讨论,修改了laya.core.js里面 value && (value._addReference(this._referenceCount)); =》 if(value && value._addReference){ value._addReference(this._referenceCount) }   又报:this._bitmap._addReference is not a function 同上依次改之。   不报错之后,开发域...

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

137. Protobuf decode报错 [ 74%]

...怎么把接受的数据decode为message-------- socket.on(Event.MESSAGE,this,this.onMessageReceived); private onMessageReceived(msg:any):void { //received data from server var byte:Byte=new Byte(); byte.writeArrayBuffer(msg); byte.pos=0; byte.endian=Socket.BIG_ENDIAN; //拆包开始 :依旧是len...

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

138. 在开发域绘制list后 显示出来了 但点击会报下面的错误 [ 74%]

... 但点击会报下面的错误 WAGame.js:3 gameSubContextThirdScriptError this._stage._canvasTransform.invertTransformPoint is not a function;at requestAnimationFrame callback function TypeError: this._stage._canvasTransform.invertTransformPoint is not a function at MouseManager.__proto.initEvent (...

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

139. 微信小游戏下使用laya 自带的video报错 [ 73%]

... 在一个界面中加入如上代码  video 没有显示 点击空白  this.videoElement.play is not a function TypeError: this.videoElement.play is not a function   2019-03-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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

140. 提示“AtlasResourceManager:Dispose the inner Atlas。” [ 73%]

...页面奔溃了,卡滞了 代码类似下面这样 Laya.timer.loop(200, this, showframe); function showframe() {     var url = getimage();     this.sp_video.loadImage(url);     }   2017-08-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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