大约有 165 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0058 秒)
...nsion, 'HttpRequestExtension', _super); var __proto = HttpRequestExtension.prototype; __proto.send = function (url, data, method, responseType, headers) { (method === void 0) && (method = "get"); (responseType === void 0) && (responseType = "text"); _super.prototype.send.call(this, url, data, method...
来源: Laya2.0_文档 发布时间: 20210714
...哈。。。。。。 cheche062 • 2017-12-21 16:30 laya.ui.DialogManager.prototype._closeOnSide = function() { if (!window.UIConfig.closeDialogOnSide) return; var dialog = this.getChildAt(this.numChildren - 1); if ((dialog instanceof laya.ui.Dialog)) dialog.close("side"); } cheche062 •...
来源: Laya_社区 发布时间: 20170316
...面的代码即可修复 typescript (<any>Laya.WXOpenDataViewer.prototype)._postMsg = function () { var mat: Laya.Matrix = new Laya.Matrix(); //修改的地方,转换成全局坐标 var p: Laya.Point = this.localToGlo...
来源: Laya_社区 发布时间: 20190822
...件 EF_DataProtocol.js:var EF_DataProtocol = function () { EF_DataProtocol.prototype.init = function (){ }; } Laya.class(EF_DataProtocol, "EF_DataProtocol", null); 按F5, 运行后提示找不到 Laya类, 这是什么问题? 求指导. 附件 : --> 2020-10-01 添加评论 悬赏 --> 分享 微...
来源: Laya_社区 发布时间: 20201001
..."标签已经用被来区分是Enter还是Stay了。 而在box2d.b2Contact.prototype.Update函数中,又用"!b"的方式区分了是Begin还是Stay。 这种重复的区分导致onTriggerStay一直无法被调用。 上图红框出,应该去掉"!",改为"b && c && a &&...
来源: Laya_社区 发布时间: 20200916
..._WIDTH适配模式性能问题了) //修改监听舞台变化 Laya.Stage.prototype["_changeCanvasSize"] = function(){ Laya.stage.designWidth=Laya.stage.height*Laya.Browser.width/Laya.Browser.height; Laya.stage.setScreenSize(Laya.Browser.clientWidth *Laya.Browser.pixelRatio,Laya.Browser.c...
来源: Laya_社区 发布时间: 20171017
...Scopes]]:Scopes[0] arguments:null caller:null length:0 name:"WebGLProgram" prototype:WebGLProgram {constructor: , Symbol(Symbol.toStringTag): "WebGLProgram"} constructor:function WebGLProgram() { … } Symbol(Symbol.toStringTag):"WebGLProgram" __proto__:Object {constructor: , __defineGetter__: , __d...
来源: Laya_社区 发布时间: 20180822
...册类 Laya.class(Test,"Test",_super); //获取执行域 var _proto = Test.prototype; //_proto. return Test; })(); 2018-06-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 语法问题非...
来源: Laya_社区 发布时间: 20180605
...播放 */ __proto.stop=function(){ _super.prototype.stop.call(this); /** *停止播放。 */ __proto.stop=function(){ if (this.completeHandler)this.completeHandler.run(); } 猜测bug原因如下:销毁一...
来源: Laya_社区 发布时间: 20190827
...= "destination-out"; } Laya.class(IndexView,"IndexView",_super); IndexView.prototype.loadProgress = function(){ this.box.addChild(this.circle); if(this.angle <= 360){ this.angle+=12; this.draw.graphics.drawPie(this.say.width/2, this.say.height/2, this.say.width/2+9,0,this.angle, "#ffffff"); }else...
来源: Laya_社区 发布时间: 20170807