大约有 4,034 项符合查询结果, 库内数据总量为 30,906 项。 (搜索耗时: 0.0075 秒)
Laya_社区(3264) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(107) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...TypeError: ctx.getImageData is not a function. (In 'ctx.getImageData(0, 0, this._mbW, this._mbH)', 'ctx.getImageData' is undefined) url:undefined line:67259 column:43 id:1300147 TypeError: ctx.getImageData is not a function. (In 'ctx.getImageData(0, 0, this._mbW, this._mbH)', 'ctx.getImageData' is u...
来源: Laya_社区 发布时间: 20190329
...漏了,导致内存面板显示会不断增长: // 原始源码 if (this._instanceParticleVertexBuffer) { this._instanceParticleVertexBuffer._byteLength; this._instanceParticleVertexBuffer.destroy(); } // 更新代码 if (this._instanceParticleVertexBuffer) { memorySize += this._instanceParti...
来源: Laya_社区 发布时间: 20230424
...ya.SphereColliderShape(0.5); //使用球型碰撞器进行形状检测 if (this.castAll) { //进行形状检测,检测所有碰撞的物体 this.scene.physicsSimulation.shapeCastAll(sphereCollider, this.from, this.to, this.hitResults); for (i = 0, n = this.hitResults.length; i 该示例中射线摆...
来源: Laya2.0_文档 发布时间: 20210715
...请: 与内容相关的链接 提交 1 个回复 158*****364 赞同来自: this.mousePos = new Laya.Vector2(Laya.MouseManager.instance.mouseX, Laya.MouseManager.instance.mouseY); //鼠标点击屏幕产生射线 this.camera.viewportPointToRay(this.mousePos, this.ray); var ph...
来源: Laya_社区 发布时间: 20190505
...类型资源 Laya.loader.load("../../res/apes/monkey0.png", Handler.create(this, onAssetLoaded1)); // 加载多张png类型资源 Laya.loader.load( ["../../res/apes/monkey0.png", "../../res/apes/monkey1.png", "../../res/apes/monkey2.png"], Handler.create(this, onAssetLoaded2)); })(); function onAsse...
来源: Laya_示例 发布时间: 20250225
...png", "res/4.png", "res/5.png", "res/6.png", "res/7.png" ], Handler.create(this, onLoaded),Handler.create(this, onProgress)); //Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, onLoaded),Handler.create(this, onProgress)); } private function onProgress(v:Number):void { trace("onProgress"...
来源: Laya_社区 发布时间: 20180428
...次就打不开了。 Dialog.manager.popupEffectHandler = Handler.create(this,(e)=>{ var dialog:Dialog = <Dialog>e; dialog.y = - dialog.height; var yy:number = (Laya.stage.height - dialog.height)/2; Laya.Tween.to(dialog,{y:yy},600,Laya.Ease.backOut); },[],false); this.gameHelpDialog = new v...
来源: Laya_社区 发布时间: 20171114
...elUI(){ ABCPanelUI.__super.call(this); } CLASS$(ABCPanelUI,'ui.abc.ABCPanelUI',_super); var __proto__=ABCPanelUI.prototype; __proto__.createChildren=function(){ ...
来源: Laya_社区 发布时间: 20161017
莫名其妙的报错,this.getStyle()是null 2018-08-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 chasel 赞同来自: 莫名其妙的错误啊 2018-08-24 0 1 分享 微博 QZONE 微信 为什么被折叠?...
来源: Laya_社区 发布时间: 20180824
...ya.SphereColliderShape(0.5); //使用球型碰撞器进行形状检测 if (this.castAll) { //进行形状检测,检测所有碰撞的物体 this.scene.physicsSimulation.shapeCastAll(sphereCollider, this.from, this.to, this.hitResults); for (i = 0, n = this.hitResults.length; i 该示例中射线摆...
来源: Laya2.0_文档 发布时间: 20210714