• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,710 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0067 秒)

121. laya.net.Loader [ 89%]

...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

122. laya.resource.PrefabImpl_API3.0 [ 89%]

...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

123. laya.d3.core.Avatar_API3.0 [ 89%]

...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

124. 三个图好像无法绑定不同的事件[ 89%]

三个图好像无法绑定不同的事件? 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

125. laya.components.Script_API3.0 [ 89%]

... 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

126. laya.gltf.glTFResource_API3.0 [ 89%]

...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

127. laya.device.media.HtmlVideo_API3.0 [ 89%]

...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

128. laya.spine.SpineTemplet_API3.0 [ 89%]

...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

129. 鼠标事件out ,move 发生再up事件之后 [ 89%]

鼠标事件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

130. 为什么给Sprite容器添加点击事件没反应 [ 89%]

为什么给Sprite容器添加点击事件没反应   附件 : --> 2017-04-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 honeyzzzz 赞同来自: cuixueying 、Y_Yao 改为Laya.Event试试?昨天我也遇...

来源: Laya_社区 发布时间: 20170421