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

大约有 633 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0050 秒)

261. laya.utils.StatUI_API3.0 [ 66%]

...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

262. 制作拖尾 遇到drawTriangles报错 和 修复方案 [ 66%]

...null 导致后续执行报错 解决方案是 增加了 红框中的 "|| this._curMat" 报错修复   拖尾效果体验微信小程序 <走你球球>   附件 : --> 1.zip 2021-08-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

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

263. 飞机大战地图滚动报错,麻烦看下? [ 66%]

...  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

264. layaMaxUI.js export ui bug (影响编译) [ 66%]

... 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

265. 2.0)js按照官方遮罩写的程序,无法正常执行, 请问怎么回事,代码见内。 [ 66%]

....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

266. 'releaseTexture' of null [ 66%]

...没有加载图片,为啥执行到了这里。 莫名其妙的报错,this.getStyle()是null Error processing "launch": Error: 找不到文件: null 请设置文件配置文件属性runtimeExecutable Uncaught TypeError: Cannot read property 'load' of null 设置的UI元素运行时变为null了...

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

267. 新手入坑请教下各位大神关于LayaMaxUI问题 [ 66%]

新手入坑请教下各位大神关于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

268. 使用HttpRequest向外部链接请求ip所在省份时,遇到 No 'Access-Control-Allow-Origin' header错误 [ 66%]

...Request = new HttpRequest();             req.once(Event.COMPLETE, this, function():void             {                 trace(req.data);             });             req.once(Event.ERROR, this, function():void             {             ...

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

269. window 下接收不到事件,Click,EnterFrame都接受不到 [ 66%]

...: 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

270. Native 在iOS上支付失败的问题,及临时解决方法 [ 66%]

....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