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

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

281. 暂停缓动报错 [ 68%]

...use(xx),暂停缓动报错,Uncaught TypeError: Laya.Tween.pause is not a function ,为什么不管用啊。 2018-10-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 这个方法没有...

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

282. graphics的setAlpha在pc端正常使用,到layaNative就报错 [ 68%]

...用,到layaNative就报错 如题,报错是说this._saveToCmd is not a function 2018-09-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复   赞同来自: 提供一下你的demo 2018-09-13 0 0 分享 微博 Q...

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

283. js继承模式 [ 68%]

js继承模式     new function() { var className = 'BackGround'; window[className] = (function() { Laya.class(Class, className, Laya.Sprite); function Class() { Class.super(this); // this定义.. this.init(); } Class.prototype.init = function() { console.log(this); }; return Class; })(); } var _...

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

284. 使用 new Animation 报错 e.indexOf [ 68%]

...用 new Animation 报错 e.indexOf Uncaught TypeError: e.indexOf is not a function at Function.t.formatURL (laya.core.min.js:3) at e.n.load (laya.core.min.js:6) at game.html:304 2017-03-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

285. 数组排序报错 [ 68%]

...rtOn(["priority"],Array.NUMERIC); Uncaught TypeError: temp.sortOn is not a function 排序报错,这是什么原因·· 2017-04-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: Js原生...

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

286. 引擎是否可以针对支持webgl2的机型做自动切换为webgl [ 68%]

...换为webgl 部分机型下会出现 this._gl.createVertexArray is not a function. (In 'this._gl.createVertexArray()', 'this._gl.createVertexArray' is undefined);at requestAnimationFrame callback function   这种情况这边判断是不支持webgl2,是否又方法直接判断手机是否支持we...

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

287. mac版2.1.1.1 LayaAirIDE建空白工程编译报错 [ 68%]

...报错 window is not defined 导微信小程序报错window.focus is not a function 问题状态 最新活动: 2019-08-26 16:18 浏览: 761 关注: 1 人

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

288. android native运行中一直报错 [ 68%]

...动生成的ui代码报错 导微信小程序报错window.focus is not a function 问题状态 最新活动: 2018-09-07 15:46 浏览: 1086 关注: 2 人

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

289. 官方的示例贴上来,怎么没反映啊 [ 68%]

官方的示例贴上来,怎么没反映啊 var JiHuo = (function (_super) { function JiHuo() { JiHuo.super(this); var xhr = new Laya.HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE, this, completeHandler); xhr.once(Event.ERROR, this, errorHandler); xhr.on(...

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

290. ts继承后,代码压缩的问题 [ 68%]

...多重复的一下语句 var __extends = this && this.__extends || function() { var extendStatics = Object.setPrototypeOf || { __proto__: [] }instanceof Array && function(d, b) { d.__proto__ = b } || function(d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p] } ; return fu...

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