大约有 506 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0067 秒)
Laya3.0_api(152) Laya_社区(122) laya_api(104) Laya2.0_api(96) Laya3.0_文档(22) Laya2.0_文档(6) Laya2.0_示例(3) Laya_示例(1)
...毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay...
来源: laya_api 发布时间: 20170929
ios中没有触发事件前使用playSound没有声音 ios中,不管是微信还是app,只要是没有触发事件,使用playSound这个方法就没有声音。触发事件后就有声音了,具体什么原因?要怎么解决? 2018-07-06 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20180706
...毁两种)。 Texture event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher getPixels(x:Number, y:Number, width:Number, height:Number):Array 获取Texture上的某个区域的像素点 Texture hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事...
来源: laya_api 发布时间: 20170929
...msg);;//没有写出 } private closeHandler(e: any = null): void { //关闭事件 console.log("关闭"+e); } private errorHandler(e: any = null): void { //连接出错 console.log("错误"+e); console.log(e); } onLoded():void{ // Laya.stage.addChild(obj); Laya.stage.addChild(new Btn1 ());//加入舞...
来源: Laya_社区 发布时间: 20180210
... 赞同来自: 你说的tempnote.on函数不触发是指无法触发CLICK事件吗?如果是这样的话是你没给sprite设置宽高吧?如果不是的话请提供详细的代码! 资源预加载之后你在使用的时候直接传路径就行了,它不会重新加载,是从缓存里边...
来源: Laya_社区 发布时间: 20171024
...m EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,...可以使用数组结构如:[p1,p2,p3,...] ;如果需要回调单个...
来源: Laya3.0_api 发布时间: 20231102
...oad(content:* = null):void 结束加载,处理是否缓存及派发完成事件 Event.COMPLETE 。 Loader event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher getAtlas(url:String):Array[static] 获取指定资源地址的图集地址列表。 Loader getRes(url:String):*...
来源: Laya2.0_api 发布时间: 20190513
...毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay...
来源: laya_api 发布时间: 20170929
dialog 使用中 如何挡住下方的事件 在UI中新建一个dialog 怎么让这个 show的时候 挡住下边的按钮不被点击 我的方法都是新建一个view 然后在后边放一个黑色的图片设置成半透明,请问有没有更好的方法 ! 2017-12-04 添加评论 免费帖 -->...
来源: Laya_社区 发布时间: 20171204
...m EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,...可以使用数组结构如:[p1,p2,p3,...] ;如果需要回调单个...
来源: Laya3.0_api 发布时间: 20231115