大约有 2,654 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0093 秒)
Laya_社区(2024) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(82) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(47)
...var _channel:Channel = new Channel(); _channel=_sound.play( ); _channel.addEventListener(Event.SOUND_COMPLETE,onComplete); 而Laya 中用什么事件可以检测声音是否播放结束? 2017-03-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20170330
...tor3.distance(this.transform.position, this.AroundPos); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.mouseMove); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); Laya.stage.on(Laya.Event.MOUSE_WHEEL, this, this.mouseWheel) } onUpd...
来源: Laya_社区 发布时间: 20170714
... new Test (Test.js:3) at onAssetLoaded (LayaUISample.js:64) at EventHandler.__proto.runWith (laya.core.js:681) at ResInfo.__proto.event (laya.core.js:460) at LoaderManager.__proto._endLoad (laya.core.js:11993) at Loader.onLoaded (laya.core.js:11972) at EventHandle...
来源: Laya_社区 发布时间: 20170621
...创建动画模板 this.templet = new Laya.Templet(); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError); this.templet.loadAni("res/spine/goblins/goblins.sk"); } onError() { console.log("parse error"); } parseComplete() { //创建第...
来源: Laya2.0_文档 发布时间: 20210715
...: 708 关注: 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
...Right.bottom+100; } //事件注册 //开始游戏 this.StartLeft.on(Laya.Event.CLICK,null,function(){ //TO GamePage2 console.log("left onclick"); Laya.stage.addChild(new GameView); }); //分享快乐 this.StartRight.on(Laya.Event.CLICK,null,function(){ //超链接 onLink(href); }); //天猫Log...
来源: Laya_社区 发布时间: 20180810
...E1.7.8 json图集加载问题 关于removechild、destory、clear的问题 event自定义事件的问题 关于主程序过大的问题 问题状态 最新活动: 2017-10-11 17:21 浏览: 775 关注: 3 人 Zzz18815519 • 2017-10-11 19:27 那动画播放结束的事件怎么定义? Zzz18815519 •...
来源: Laya_社区 发布时间: 20171011
...000"); sp.hitArea = new laya.maths.Rectangle(-50,-100,100,100); sp.on(laya.events.Event.CLICK,this,this.spHandler); function spHandler() { sp.graphics.clear(); var rc:number = Math.floor(Math.random()*0xffffff); sp.graphics.drawRect(-50,-100,100,100,"#"+rc); } 这样多包几...
来源: Laya_社区 发布时间: 20180106
...asses | Index | Frames No Frames DialogManagerProperties | Methods | Events Packagelaya.uiClasspublic class DialogManagerInheritanceDialogManager Sprite Node EventDispatcher Object DialogManager 对话框管理容器,所有的对话框都在该容器内,并且受管理器管理。 任意...
来源: laya_api 发布时间: 20170929
...Templet; import laya.display.Sprite; import laya.display.Text; import laya.events.Event; import laya.utils.Browser; import laya.utils.Stat; import laya.webgl.WebGL; public class LayaAirDemo { private var templete:Templet;//动画模板类 private var skeleton:Skeleton;//骨骼动画类 private var c...
来源: Laya_社区 发布时间: 20170324