大约有 1,218 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0079 秒)
Laya_社区(677) Laya3.0_api(153) laya_api(104) Laya2.0_api(96) Laya2.0_文档(63) Laya2.0_示例(44) Laya_示例(42) Laya3.0_文档(39)
... 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
...同来自: 他也是自己写的 监听滑动 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
...hitArea = closeRect; // closeBtn 为 Laya.Button 实例 this.closeBtn.on(Event.CLICK,this,this.closeWin); private closeWin():void { console.log("the window has closed..."); } 2017-09-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20170920
...(this.x + this.width) < this.maxRight){ this.isOutComplete = true; this.event(Floor.OUT_COMPLETE, this); }else if((this.x + this.width) < 0){ //判断整个floor是否不在屏幕里面了 如果不在了 移除当前floor Laya.timer.clear(this, this.onLoop); this.visible = false; this.event(F...
来源: Laya_社区 发布时间: 20160801
Animation播放完一次动画后的回调问题 starView.ani1.on(Laya.Event.COMPLETE,null,OnAnimation); 这个ani1是这个动画这样设置回调不对吗? 我看API那边事件就是这个COMPLETE 2017-02-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...
来源: Laya_社区 发布时间: 20170215
...(LearnGlowFilter.ts:15) at GameUI.onTipClick (GameUI.ts:36) at EventHandler.__proto.runWith (laya.core.js:1399) at Label.__proto.event (laya.core.js:1156) at TouchManager.__proto.sendEvents (laya.core.js:11253) at TouchManager.__proto.onMouseUp (laya.core.js:11412) ...
来源: Laya_社区 发布时间: 20181119
...d有偏差,层级感觉反过来刷了一遍。 this.an_img.on(Laya.Event.MOUSE_DOWN, this, function (): void { console.log("点击"); var htmlCanvas:Laya.HTMLCanvas = Laya.stage.drawToCanvas(1334, 750, 0, 0);//把精灵绘制到...
来源: Laya_社区 发布时间: 20190816
...| All Classes | Index | Frames No Frames TextProperties | Methods | Events | Constants Packagelaya.displayClasspublic class TextInheritanceText Sprite Node EventDispatcher ObjectSubclasses Input Text 类用于创建显示对象以显示文本。 注意:如果运行时系统找不到设定...
来源: Laya2.0_api 发布时间: 20190513
...rties | Methods Packagelaya.mediaClasspublic class SoundInheritanceSound EventDispatcher Object Sound 类是用来播放控制声音的类。 引擎默认有两套声音方案,优先使用WebAudio播放声音,如果WebAudio不可用,则用H5Audio播放,H5Audio在部分机器上有兼容问...
来源: Laya2.0_api 发布时间: 20190513
... onLoading, null, false), null, 1, true, sGameMark, false); Laya.loader.on(Event.ERROR, this, onError); 预加载资源添加了完成 进度 和失败监听 在手机上有时加载进度会卡在某个数值不动 不会触发加载失败 也不触发加载完成 请问有没有什么方法可...
来源: Laya_社区 发布时间: 20161228