大约有 2,394 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0065 秒)
Laya_社区(1817) Laya3.0_api(153) laya_api(104) Laya2.0_api(96) Laya2.0_文档(77) Laya_示例(52) Laya2.0_示例(48) Laya3.0_文档(47)
... layabox 也没有支持。 要启用装饰器语法,首先要配置 tsconfig.json, 让其支持装饰器语法:{ "compilerOptions": { ...其他配置, "experimentalDecorators": true, //启用装饰器语法 }, } 但修改完配置编译的时候会报错:This syntax requires an imported helpe...
来源: Laya_社区 发布时间: 20201223
Animation 播放完成回调有参数吗 Animation.on(Event.COMPLETE, this, bfwc); function bfwc(e){ console.log(e.target.name); } 是错误的 2017-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 ...
来源: Laya_社区 发布时间: 20170718
1.7的接口消失 // ZmyTestManager.Ani.on(Laya.Event.COMPLETE, this, this.OnCurrentAnimationCompleted);//循环动画完成播放单次循环 // ZmyTestManager.Ani.on(Laya.Event.STOPPED, this, this.OnCurrentAnimationStopped);//非循环动画停止播放 这个接口在2.0后就没有了 文档...
来源: Laya_社区 发布时间: 20181017
...ch Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ani/AnimationTemplet" AnimationTemplet Class AnimationTemplet AnimationTemplet 类用于动画模板资源。 Hierarchy Resource Animati...
来源: Laya3.0_api 发布时间: 20231115
...集动画结束回调有延迟 this.ded.addLabel("animOver",9); this.ded.on(Laya.Event.LABEL, this, this.onHitOver); this.ded.on(Laya.Event.COMPLETE, this, this.onHitOver); 两种方法都会有延迟,不能100%执行 2018-11-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20181108
API DocumentationAll Packages | All Classes | Index | Frames No Frames EventDispatcherMethods Packagelaya.eventsClasspublic class EventDispatcherInheritanceEventDispatcher ObjectSubclasses Accelerator, AnimationPlayer, AnimationTransform3D, BaseRender, Component3D, GeometryFilter, Gyroscope,...
来源: laya_api 发布时间: 20170929
父容器为何不响应鼠标事件 源码如下: let son:Laya.Sprite = new Laya.Sprite() let father:Laya.Sprite = new Laya.Sprite() son.loadImage("res/me.png",0,0,30,30) father.addChild(son) Laya.stage.addChild(father) father.x = 100; father.y = 100; father.on(Laya.Even...
来源: Laya_社区 发布时间: 20181011
wx.getFileSystemManager is not a function 用2.3 2.6的laya.opendata.js都出现这个错误,怎么解决 2020-05-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要...
来源: Laya_社区 发布时间: 20200513
...e.zIndex + 1; videoElement.src = "../../res/av/mov_bbb.mp4"; videoElement.controls = true; // 阻止IOS视频全屏 videoElement.setAttribute("webkit-playsinline", true); videoElement.setAttribute("playsinline", true); // 设置画布上的对齐参照物 var reference = new Laya.Sprite(); Laya.stag...
来源: Laya_示例 发布时间: 20251209
...戏开发 可以加我的微信 一起研究 13890999 事件 Laya.stage.on(Laya.Event.KEY_UP,this,this.onkeyup); Laya.stage.on(Laya.Event.KEY_DOWN,this,this.onkeydown); Laya.timer.frameLoop(1,this,this.loop);事件响应 onkeyup(e){ for(let i:number = 0;i<this.keyList.length;i++){ if(this.keyL...
来源: Laya_社区 发布时间: 20171125