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

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

1791. 打包APK运行,drag拖动出现问题;color="#0"程序直接崩溃 [ 51%]

...   imag=new Image("ui/comp/image.png");             Laya.stage.addChild(imag);             imag.on(Event.MOUSE_DOWN,this,onDown);             imag.on(Event.MOUSE_UP,this,onUP);         }                  private function onDown():void{          ...

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

1792. 创建[HTMLDivElement]时遇到错误(手动实例一次本组件可定位错误) [ 51%]

...写。 this.contentDiv = new Laya.HTMLDivElement(); this.contentT.parent.addChild(this.contentDiv); this.contentDiv.x = this.contentT.x; this.contentDiv.y = this.contentT.y; this.contentDiv.width = this.contentT.width; this.contentDiv.height = this.contentT.height; this.contentDiv.style.width = this...

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

1793. 关于Dialog的closeHandler问题 [ 51%]

....removeChildren(); if (dialog.popupCenter)this._centerDialog(dialog); this.addChild(dialog); if (dialog.isModal || this._$P["hasZorder"])this.timer.callLater(this,this._checkMask); this.popupEffect && this.popupEffect(dialog); this.event(/*laya.events.Event.OPEN*/"open"); }这个是源码ope...

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

1794. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 51%]

... parent scene timer transform url width Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getCom...

来源: Laya3.0_api 发布时间: 20231102

1795. 3d特效克隆时,在手机会现卡顿情况,特效资源已经提前在加载 [ 51%]

...;             //effect3D.active = true;             this.addChild(effect3D);             //console.hylog("_path:",_path);             SetUVEffect(effect3D);                      } 附件 : --> effect3d.rar 2018-06-01 添加评论 免费帖 --> 分...

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

1796. http无响应 [ 51%]

...则进入会员列表 var mblv = new BriefView(); mblv.init(); Laya.stage.addChild(mblv); //销毁自身 //this.removeSelf(); this.destroy(); */ connect(); } } //忘记密码 LoginView.prototype.onLableWjmm = function () { this.dlgs = new TanChuang(); this.dlgs.init(); this.dlgs.setContext("请联...

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

1797. bug,ChainCollider.points第二次设置,会报错! [ 51%]

...is.bullet); flyer.pos(Laya.stage.mouseX, Laya.stage.mouseY); this._gameBox.addChild(flyer); this._chains.points="35,35,80,80";     //****新增代码*****,需增加private _chain; } /**开始游戏,通过激活本脚本方式开始游戏*/ startGame(): void { if (!this._started) { this._start...

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

1798. 如何加载一个HTML页面 [ 51%]

...lement();      iframe.href="http://www.baidu.com";      Laya.stage.addChild(iframe);   //showText(); })();   2017-11-13 0 0 分享 微博 QZONE 微信 wudi199553 赞同来自: 麻烦你说的具体一点行么 2017-11-13 0 3 分享 微博 QZONE 微信 ymsdandan 赞同来自: Browser.window...

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

1799. 关于颜色滤镜的问题 [ 51%]

....pos(540,70); balloon.filters = [new Laya.ColorFilter(redMat)]; Laya.stage.addChild(balloon); 附件 : --> 2016-05-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 你好:   我这边...

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

1800. WebGl下 graphics画出东西后 移动sprite 不起效果 [ 51%]

...wSomething()     {         sp = new Sprite();         Laya.stage.addChild(sp);               //绘制圆角矩形,自定义路径         sp.graphics.drawPath(0, 0, [             ["moveTo", 5, 0],             ["lineTo", 105, 0],             ["arcTo", 110, 0, ...

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