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

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

591. list 数据不会及时渲染 [ 71%]

...       }           private function onSelect(cardList:List, evt:Event, index:int):void         {             var cell:Box = cardList.getCell(index);             if(cell){                 if(evt.type == Event.CLICK){                      // ...

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

592. 无限循环滚动列表 [ 71%]

...同来自: 他也是自己写的  监听滑动  this._list.on(fairygui.Events.SCROLL, this, this.doSpecialEffect); 通过cell 距离 设置他的缩放比 MainPanel.prototype.doSpecialEffect = function () {         //change the scale according to the distance to the middle         var mid...

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

593. 关于下拉列表的选择触发 [ 71%]

...ia1.loading_desc.text = "可在小秘境挂机获取" dia1.confirm.on(Laya.Event.MOUSE_UP, this, dai1, [dia1]) dia1.popup() // this.big_map.selectedIndex = 0 } } } 两个列表,手动选择会触发,没有问题,但如果在下面加一个修改下拉数据的 this.small_map.labels = “1,2...

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

594. Handler.create的回收问题 [ 71%]

...留白部分的颜色问题 关于removechild、destory、clear的问题 event自定义事件的问题 两个问题 有元件支援视频流渲染吗? Image元件读不了资料流 问题状态 最新活动: 2017-12-21 17:12 浏览: 1577 关注: 2 人 Ormazd2017 • 2017-12-21 17:16 不是吧,...

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

595. 学习官方视频教程中飞机大战游戏出现的问题!! [ 71%]

...   this.addChild(this.playAnim);             this.playAnim.on(Laya.Event.COMPLETE,this,this.onPlayComplete);         } onMouseMove():void{         //根据鼠标位移主角方法         this.hero.pos(Laya.stage.mouseX,Laya.stage.mouseY);     }     2018-05-03 0 0 分享 微...

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

596. 绘图graphics中的鼠标事件 [ 71%]

...他颜色,如何操作? 关于使用matterjs物理引擎鼠标问题 event自定义事件的问题 鼠标滚轮滚动事件 3d物理不能触发onCollisionEnter事件 Laya 鼠标Cursor怪异问题,有demo 问题状态 最新活动: 2017-11-17 10:51 浏览: 628 关注: 2 人

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

597. 微信小游戏默认项目代码添加unity导出.lh文件,微信开发工具提示错误 [ 71%]

...:10) at ResInfo.onLoaded (http://127.0.0.1:51205/game/code.js:12995:61) at EventHandler.__proto.runWith (http://127.0.0.1:51205/game/code.js:711:59) at ResInfo.__proto.event (http://127.0.0.1:51205/game/code.js:483:28) at LoaderManager.__proto._endLoad (http://127.0.0.1:51205/game/code.js:13152:11) ...

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

598. Dialog [ 71%]

...ction Controller() {     Controller.super(this);      this.btn.on(Event.CLICK,this,function(){           this.destroy();     })  } Laya.class(Controller, "Controller", stUI); 2018-08-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...

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

599. Laya.loader.load 加载场景报错 [ 71%]

...o.addChild (laya.core.js:13290) at Main.<anonymous> (Main.ts:148) at EventHandler.__proto.runWith (laya.core.js:1399) at ResInfo.__proto.event (laya.core.js:1156) at LoaderManager.__proto._endLoad (laya.core.js:14773) at Loader.onLoaded (laya.core.js:14743) at EventHandler.__proto.runWith (lay...

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

600. addchild后,怎么去引用? [ 71%]

...lose_1.ani"); lose1.x=150; lose1.y=400; lose1.size(100,300); lose1.on(Laya.Event.CLICK,this.listP,this.play1); lose1.name="lose1"; this.listP.addChild(lose1); play1():void { console.log("111"); this.lose1.play(); //this._childs[5].play(); } 2017-10-25 添加评论 免费帖 --> 分享 微博 QZONE ...

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