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

大约有 1,740 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0057 秒)

221. 释放已经预加载但未使用的模型资源报错 [ 73%]

...微信 伐木工人 赞同来自: Uncaught TypeError: res.dispose is not a function 2017-12-02 0 0 分享 微博 QZONE 微信 Laya_XS 赞同来自: 现在的机制就是加载了模型后就直接创建了对象,不管你用不用,释放流程都是一样的,必须先destory释放对象,然...

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

222. laya.media.SoundChannel_API3.0 [ 73%]

...则值为 true;否则,值为 false。 off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删除...

来源: Laya3.0_api 发布时间: 20231115

223. laya.net.HttpRequest_API3.0 [ 73%]

...则值为 true;否则,值为 false。 off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删除...

来源: Laya3.0_api 发布时间: 20231115

224. laya.utils.TimeLine_API3.0 [ 73%]

...为 false。 from from(target: any, props: any, duration: number, ease?: Function, offset?: number): TimeLine Defined in laya/utils/TimeLine.ts:95 从 props 属性,缓动到当前状态。 Parameters target: any target 目标对象(即将更改属性值的对象) props: any 要控制对象的属...

来源: Laya3.0_api 发布时间: 20231115

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

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

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

226. 能不能增加Array的部分方法,比如shift,unshift,removeAt? [ 72%]

... 2 个回复 fftidus 赞同来自: Uncaught TypeError: arr.shift is not a function 2017-11-21 0 0 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: LayaAir下的Array就是原生的Array,你可以直接去看下原生的API 2017-11-21 0 0 分享 微博 QZONE 微信 为什么被折叠?...

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

227. Uncaught TypeError: Cannot read property 'props' of undefined [ 72%]

...导入从unity导出的场景,出现此错误,代码如下 var Main = (function () { function Main() { //初始化引擎 Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); //添加3D场景 Laya.Scene3D.load("Lay...

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

228. 浏览器报错时获取不到详情 [ 72%]

...浏览器错误时的detail是未定义的:   Browser.window.onerror = function(msg:String, url:String, line:String, column:String, detail:*):void {                     if (erralert++ < 5 && detail)                         alert("出错啦,请把此信...

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

229. 2.3.0截屏问题 [ 72%]

...ImageData is not defined ReferenceError: ImageData is not defined     at Function.RunDriver.drawToCanvas (http://127.0.0.1:27664/game/libs/laya.webgl.js:7119:27)   drawToCanvas怎么搞,截屏问题,谁看一下 2020-01-08 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相...

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

230. 真机上随机报错 [ 72%]

...huriKenParticle3D._cloneTo (http://222222.com/libs/laya.d3.js:24966:34) at Function._parseSprite3DInstance (http://222222.com/libs/laya.d3.js:6954:20) at Function._parseSprite3DInstance (http://2222.com/libs/laya.d3.js:6953:23) at Function._parseSprite3DInstance (http://22 2021-12-01 17:08:49.363 11...

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