大约有 1,215 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0086 秒)
Laya_社区(675) Laya3.0_api(153) laya_api(104) Laya2.0_api(96) Laya2.0_文档(63) Laya2.0_示例(44) Laya_示例(42) Laya3.0_文档(38)
...HitAllInfo.length;这个已经获取到了。射线获取的 //是不是我Event.COMPLETE写错了?应该怎么用求教啊。。。。。 Laya.stage.on(Laya.Event.CLICK, this, function () { for (var i = 0; i < _outHitAllInfo.length; i++) { ...
来源: Laya_社区 发布时间: 20170927
...** 初始化资源加载完成 */ private initF():void{ Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseHandler); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseHandler); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.mouseHandler); } private mouseHandler(e:laya.events.Event):void { var to...
来源: Laya_社区 发布时间: 20181102
...Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import SoundManager = Laya.SoundManager; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Sound...
来源: Laya_社区 发布时间: 20201203
...ayEnd);视频播完为何不触发“complete”? function onPlayEnd(evt:Event){ trace("video complete"); } 为何视频播完不触发呢? http://layaair.ldc.layabox.com ... Video 这里要是可以调试该多好~ 2017-01-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20170116
...a.WebGL); //创建动画模板 templet=new Laya.Templet(); templet.on(Laya.Event.COMPLETE,this,parseComplete); templet.on(Laya.Event.ERROR,this,onError); //加载动画文件 templet.loadAni("res/spine/goblins/goblins.sk"); function onError() { console.log("parse error"); } function parseComplete() ...
来源: Laya2.0_文档 发布时间: 20210715
...I DocumentationAll Packages | All Classes | Index | Frames No Frames EventDispatcherMethods Packagelaya.eventsClasspublic class EventDispatcherInheritanceEventDispatcher ObjectSubclasses Accelerator, AnimationPlayer, AnimationTransform3D, BaseRender, Component3D, GeometryFilter, Gyroscope, Ht...
来源: laya_api 发布时间: 20170929
...rawRect(0, 0, 515, 515, "#996633", "#333333"); spe.on(Event.MOUSE_DOWN, spe, onMouseDown); Laya.stage.on(Event.MOUSE_UP, this, onMouseUp); Laya.stage.on(Event.MOUSE_OUT, this, onMouseUp); } private function onMouseDown(e:Event):void {...
来源: Laya_社区 发布时间: 20170407
节点的visible在初始化的时候生效,但是在Event的方法里面不生效 为什么呢? 2017-09-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 不清楚你的具体操作...
来源: Laya_社区 发布时间: 20170921
... sp.graphics.drawRect(0,0,100,100,"#ff0000"); sp.on(Event.MOUSE_OVER,this,onMouse); sp.on(Event.MOUSE_OUT,this,onMouse); Laya.stage.addChild(sp); Stat.show(); } private fu...
来源: Laya_社区 发布时间: 20170920
...name=='anifish'){ anifish.player.playByFrame(0,1.0,0,40,72,30); anifish.on(Event.COMPLETE,this,complete) function complete(){ alert(1) } Monica • 2017-09-27 14:22 @haiboannacom:Event前边加个Laya.看看 haiboannacom • 2017-09-27 14:25 @Monica:第三条鱼我加了这个了。也不行。anifi...
来源: Laya_社区 发布时间: 20170926