大约有 4,102 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0073 秒)
Laya_社区(3323) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...ion complete事件回掉参数为undefinend var ani1:Laya.FrameAnimation = this.ani1; ani1.play(0,false); ani1.on(laya.events.Event.COMPLETE,this,this.onPlayEnd); onPlayEnd(evt) { //evt 居然是undefinend。事件机制还能用吗? } 2017-09-19 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20170919
...; xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); xhr.send("res/data.data","","get","text"); } private function processHandler(data:Object):void { trace(data); } priva...
来源: Laya2.0_文档 发布时间: 20210715
...方式支持,之所以没有输出是由于你method的作用域错了,this指向的不是当前类,而是window,使用Handler可以直接传作用域(为当前类),所以Handler输出的结果是对的,建议使用Handler! 2016-12-13 0 2 分享 微博 QZONE 微信 为什么被折叠...
来源: Laya_社区 发布时间: 20161213
...ion _onMouseDown(e:Event):void { var point:Point = this.getMousePoint(); if (_dragArea.contains(point.x, point.y)) this.startDrag(); else this.stopDrag(); } 找到这段代码,改引擎,做判断,如果要...
来源: Laya_社区 发布时间: 20180719
...nt or language, which is considered a form of spam. The next submission of this app may require a longer review time, and this app will not be eligible for an expedited review until this issue is resolved. Next Steps - Review the Design section of the App Store Review Guidelines. - Ensure your app i...
来源: Laya_社区 发布时间: 20200415
...", true); xhr.responseType = "arraybuffer"; xhr.onload = function () { if (this.status == 200) { var blob = new Blob([this.response], { type: "image/png" }); var img = document.createElement("img"); img.onload = function (e) { window.URL.revokeObjectURL(img.src); // 清除释放; }; img.src = window...
来源: Laya2.0_文档 发布时间: 20210714
...nt or language, which is considered a form of spam. The next submission of this app may require a longer review time, and this app will not be eligible for an expedited review until this issue is resolved. Next Steps - Review the Design section of the App Store Review Guidelines. - Ensure your app i...
来源: Laya_社区 发布时间: 20200420
...序报错window.focus is not a function 调用动画结束on方法,报错this.zombieAnimator.on is not a function laya加载unity插件导出的场景 physics3D is not a function 用微信开发者调试的时候出现document.createTextNode is not a function api readFile success callback function...
来源: Laya_社区 发布时间: 20170602
....__init__(); .... } private _setDetailNum(value){ switch (value) { case 1: this._shaderValues.addDefine(CustomTerrainMaterial.SHADERDEFINE_DETAIL_NUM1); this._shaderValues.removeDefine(CustomTerrainMaterial.SHADERDEFINE_DETAIL_NUM2); this._shaderValues.removeDefine(CustomTerrainMaterial.SHADERDEFINE...
来源: Laya2.0_文档 发布时间: 20210715
....__init__(); .... } private _setDetailNum(value){ switch (value) { case 1: this._shaderValues.addDefine(CustomTerrainMaterial.SHADERDEFINE_DETAIL_NUM1); this._shaderValues.removeDefine(CustomTerrainMaterial.SHADERDEFINE_DETAIL_NUM2); this._shaderValues.removeDefine(CustomTerrainMaterial.SHADERDEFINE...
来源: Laya2.0_文档 发布时间: 20210714