大约有 1,710 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0067 秒)
Laya_社区(1226) Laya3.0_api(158) laya_api(110) Laya2.0_api(104) Laya2.0_文档(51) Laya3.0_文档(32) Laya_示例(15) Laya2.0_示例(14)
...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
...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
...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
三个图好像无法绑定不同的事件? Laya.init(400, 400, laya.webgl.WebGL); var img1 = new Laya.Sprite(); img1.loadImage('https://layaair.ldc.layabox.com/demo/h5/res/apes/monkey2.png',100,100,90,90); Laya.stage.addChild(img1); img1.on(Laya.Event.CLICK,this, function(name){ console.log(name...
来源: Laya_社区 发布时间: 20180621
... Collision): void Defined in laya/components/Script.ts:73 3D物理碰撞器事件(不适用2D),开始碰撞时执行 Parameters collision: Collision Returns void Optional onCollisionExit onCollisionExit(collision: Collision): void Defined in laya/components/Script.ts:83 3D物理碰撞器事件...
来源: Laya3.0_api 发布时间: 20231115
...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
...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
...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
鼠标事件out ,move 发生再up事件之后 一个页面,绑定事件 initEvent() { this.bubbleView.on(Laya.Event.MOUSE_MOVE, this, this.mouseMoveCallback); this.bubbleView.on(Laya.Event.MOUSE_UP, this, this.mouseUpCallback); this.bubbleV...
来源: Laya_社区 发布时间: 20191122
为什么给Sprite容器添加点击事件没反应 附件 : --> 2017-04-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 honeyzzzz 赞同来自: cuixueying 、Y_Yao 改为Laya.Event试试?昨天我也遇...
来源: Laya_社区 发布时间: 20170421