大约有 633 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0050 秒)
...ers ctx: any x: number y: number Returns void set_onclick set_onclick(fn: (this: GlobalEventHandlers, ev: MouseEvent) => any): void Overrides IStatRender.set_onclick Defined in laya/utils/StatUI.ts:168 override 点击性能统计显示区域的处理函数。 Parameters fn: (this: GlobalEventHand...
来源: Laya3.0_api 发布时间: 20231102
...null 导致后续执行报错 解决方案是 增加了 红框中的 "|| this._curMat" 报错修复 拖尾效果体验微信小程序 <走你球球> 附件 : --> 1.zip 2021-08-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20210831
... bg2.pos(650, 0); box.addChild(bg2); Laya.timer.frameLoop(1, this, bg_loop()); } function bg_loop() { box.x -= 1; if (bg1.x + box.x <= 0) { bg1.y = 650 } if (bg2.x + box.x <= 0) { bg2.x = 650 } } bg_rolling(); 以上是我把...
来源: Laya_社区 发布时间: 20160721
... 2.2.0beta2 IDE自动生成的/src/ui/layaMaxUI.js 中代码如下: /**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ var CLASS$=Laya.class; var STATICATTR$=Laya.static; var View=laya.ui.View; var Dialog=laya.ui.Dialog; if(!window.ui) window.ui={}; ...
来源: Laya_社区 发布时间: 20190813
....head_img, Laya.Handler.create(head_img, function () { this.height = this.width = 77; var cMask = new Laya.Sprite();//创建遮罩对象 var r = 38.5; //遮罩圆形半径 cMask.graphics.drawCircle(0, 0, r, "#ff0000");//画一个圆形的...
来源: Laya_社区 发布时间: 20181119
...没有加载图片,为啥执行到了这里。 莫名其妙的报错,this.getStyle()是null Error processing "launch": Error: 找不到文件: null 请设置文件配置文件属性runtimeExecutable Uncaught TypeError: Cannot read property 'load' of null 设置的UI元素运行时变为null了...
来源: Laya_社区 发布时间: 20181207
新手入坑请教下各位大神关于LayaMaxUI问题 /**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ import View=Laya.View; import Dialog=Laya.Dialog; import Scene=Laya.Scene; var REG: Function = Laya.ClassUtils.regClass; export module ui.test { ex...
来源: Laya_社区 发布时间: 20190402
...Request = new HttpRequest(); req.once(Event.COMPLETE, this, function():void { trace(req.data); }); req.once(Event.ERROR, this, function():void { ...
来源: Laya_社区 发布时间: 20170120
...: 2 人 黄进 • 2018-06-11 17:23 啥意思? Content.once(Event.CLICK,this,OnMouseDown); Content.once(Event.MOUSE_OUT,this,OnMouseDown); Laya.stage.once(Event.FRAME,this,onEnterFrame); 这样事件都监听不到? Laya_Aaron • 2018-06-11 17:52 你描述的我也不懂是什么意思,只能...
来源: Laya_社区 发布时间: 20180611
....recharge方法,发起支付返回失败,输出报错如下:Warning: This app is not entitled to use SKPayment requestData. requestData will not be sent. [IAP] Transaction error: 无法连接到 iTunes Store 10 [IAP] SKPaymentTransactionStateFailed经过调试发现IAPManager有如下代码 SK...
来源: Laya_社区 发布时间: 20190510