大约有 498 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0053 秒)
Laya_社区(182) Laya3.0_api(109) Laya2.0_文档(72) Laya2.0_api(66) laya_api(46) Laya3.0_文档(17) Laya2.0_示例(4) Laya_示例(2)
...: 3 人 cuixueying • 2017-04-07 16:38 第6个参数不是function,是handler,用new Handler或Handler.create的方式去写!
来源: Laya_社区 发布时间: 20170406
...归循环,来计算循环的次数 Tween.to(sp,{x:500},1000,Ease.backIn,Handler.create(this,onTween1)); } private function onTween1():void { // TODO Auto Generated method stub num++; trace(num); Tween.clearTween(onTween1); Tween.to(sp,{x:100},1000,Ease.backIn,Handler.create(this,onTween2)); } priv...
来源: Laya_社区 发布时间: 20161011
...如果父节点手动设置为false,则不会更改)。 Sprite mouseHandler : Handler单元格鼠标事件处理器(默认返回参数e:Event,index:int)。List mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获...
来源: Laya2.0_api 发布时间: 20190513
...如果父节点手动设置为false,则不会更改)。 Sprite mouseHandler : Handler单元格鼠标事件处理器(默认返回参数e:Event,index:int)。List mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获...
来源: laya_api 发布时间: 20170929
...load(["./res/atlas/ListPage.atlas", "res/atlas/template/ButtonTab.atlas"], Handler.create(this, this.onLoaded)); 而我F12发布,根本没有这个ListPage.atlas,只有ButtonTab.atlas 附件 : --> 2017-09-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20170904
...ns void Static playMusic playMusic(url: string, loops?: number, complete?: Handler, startTime?: number): SoundChannel Defined in laya/media/SoundManager.ts:353 播放背景音乐。背景音乐同时只能播放一个,如果在播放背景音乐时再次调用本方法,会先停止之前的背...
来源: Laya3.0_api 发布时间: 20231115
....load怎么停止回调 this._load = Laya.loader.load(this._data.url, Laya.Handler.create(this, this.loadComplete), null, Laya.Loader.ATLAS); 如果我想在加载的过程中 不去触发 loadComplete方法 我该怎么办? this._load.off(Laya.Event.COMPLETE, this, this.loadComplete); 这个是...
来源: Laya_社区 发布时间: 20171221
创建树Tree 该怎么回调mouseHandler 形参该传什么 附件 : --> 2017-06-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: z298959 tree.mouseHandler=new Handler(this,onTreeHandle...
来源: Laya_社区 发布时间: 20170626
...pLoaded() this.tMap.createMap("res/TiledMap/orthogonal.json",viewRect,Laya.Handler.create(this,onMapLoaded)); function onMapLoaded(){ //将原地图放大2倍 this.tMap.scale = 2; } ``` 运行效果如图8所示。  (图8) #### 2.2.2 设置地图缩放的中心点 很明显,图8...
来源: Laya2.0_文档 发布时间: 20210715
...le.log("url: " + url); if (Laya.Browser.onMiniGame) { var args = {url:url, handler:null}; var handler = Laya.Handler.create(this, this.OnDownloadFileInWxOk, [args], false); args.handler = handler; Laya.MiniAdpter.downLoadFile(url, null, handler); } else { this.DoLoadData(url); } } protected DoLoadDa...
来源: Laya_社区 发布时间: 20180604