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

大约有 540 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0046 秒)

101. [LayaAirIDE 2.0]TextInput真机输入时显示蓝色字,求解 [ 76%]

....I.isReg) { this._regMode(); } else { this._forgetMode(); } // 添加取消事件 this.lb_cancel.on(Laya.Event.CLICK, this, () => { // 返回登陆页 Laya.Scene.open("Auth.scene"); }); // 遍历数组添加事件 this._arrInput.forEach((element, index) => { element.on(Laya.Event.FOCUS, this, ...

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

102. laya.device.motion.Accelerator [ 76%]

...singleton:int)Accelerator event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher  getTransformedAcceleration(acceleration:AccelerationInfo):AccelerationInfo[static] 把加速度值转换为视觉上正确的加速度值。依赖于Browser.window.orientation,可能在部分低...

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

103. laya.device.motion.Accelerator [ 75%]

...singleton:int)Accelerator event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher  getTransformedAcceleration(acceleration:AccelerationInfo):AccelerationInfo[static] 把加速度值转换为视觉上正确的加速度值。依赖于Browser.window.orientation,可能在部分低...

来源: laya_api 发布时间: 20170929

104. laya.ani.AnimationPlayer_API3.0 [ 75%]

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

105. laya.utils.TimeLine [ 75%]

...毁此对象。 TimeLine event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher  from(target:*, props:Object, duration:Number, ease:Function = null, offset:Number = 0):TimeLine 从 props 属性,缓动到当前状态。 TimeLine  from(target:*, props:Object, duration:Number,...

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

106. laya.resource.TextResource_API3.0 [ 75%]

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

107. laya.net.Socket_API3.0 [ 75%]

...议,连接才能建立成功,否则建立失败,派发 Event.ERROR 事件。 see https://html.spec.whatwg.org/multipage/comms.html#dom-websocket Static BIG_ENDIAN BIG_ENDIAN: string = "bigEndian" Defined in laya/net/Socket.ts:43 主机字节序,是 CPU 存放数据的两种不同顺序,包...

来源: Laya3.0_api 发布时间: 20231115

108. laya.net.Loader [ 75%]

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

109. laya.utils.TimeLine [ 75%]

...毁此对象。 TimeLine event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher  from(target:*, props:Object, duration:Number, ease:Function = null, offset:Number = 0):TimeLine 从 props 属性,缓动到当前状态。 TimeLine  from(target:*, props:Object, duration:Number,...

来源: laya_api 发布时间: 20170929

110. laya.components.AnimatorController2D_API3.0 [ 75%]

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