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

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

1391. laya.components.AnimatorController2D_API3.0 [ 52%]

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

1392. laya.display.FrameAnimation [ 52%]

...帧标签到指定索引的帧上。当动画播放到此索引的帧时会派发Event.LABEL事件派发事件是在完成当前帧画面更新之后。 AnimationBase callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一...

来源: Laya2.0_api 发布时间: 20190513

1393. 游戏DEMO分享:【简单跑酷--JS版】---Lv.1 [ 52%]

...定义!这是为什么? 已上传 Demo 附件 分享:自定义事件派发与侦听(A页面派发 B页面侦听) IOS系统内嵌H5游戏,退到后台,等几秒返回音乐音效全无 游戏运行在chrome里面 听不见声音 分享:适配LayaAir版本的PureMVC框架 分享:打...

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

1394. laya.resource.AtlasResource_API3.0 [ 52%]

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

1395. laya.d3.animation.AnimationClip_API3.0 [ 52%]

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

1396. laya.d3.component.animator.AnimatorController_API3.0 [ 52%]

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

1397. laya.d3.core.light.SpotLight [ 52%]

...不销毁自己本身。 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...

来源: Laya2.0_api 发布时间: 20190513

1398. laya.resource.Prefab_API3.0 [ 52%]

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

1399. HttpRequest详解(JavaScript-LayaAir基础篇(JS)-数据与通信) [ 52%]

...了简单的封装,HttpRequest继承的是EventDispatcher,具有事件派发的功能。我们写个简单的例子来看下用法: ```javascript //初始化引擎 Laya.init(1136,640); var xhr = new Laya.HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,th...

来源: Laya2.0_文档 发布时间: 20210714

1400. HttpRequest详解(TypeScript-LayaAir基础篇(TS)-数据与通信) [ 52%]

...了简单的封装,HttpRequest继承的是EventDispatcher,具有事件派发的功能。我们写个简单的例子来看下用法: ```typescript class LayaSample { constructor() { //初始化引擎 Laya.init(1136, 640); var xhr: Laya.HttpRequest = new Laya.HttpRequest(); xhr.http.timeout = 10...

来源: Laya2.0_文档 发布时间: 20210715