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

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

161. 缓动-时间线 [ 64%]

... Laya.Event; this.createApe(); this.createTimerLine(); Laya.stage.on(Event.KEY_DOWN, this, this.keyDown); } createApe() { const Sprite = Laya.Sprite; this.target = new Sprite(); Laya.stage.addChild(this.target); this.target.loadImage("res/apes/monkey2.png"); this.target.pivot(55, 72); this.target.po...

来源: Laya2.0_示例 发布时间: 20260303

162. laya.net.HttpRequest [ 64%]

...ault = null) — (default = null) HTTP 请求的头部信息。参数形如key-value数组:key是头部的名称,不应该包括空白、冒号或换行;value是头部的值,不应该包括换行。比如["Content-Type", "application/json"]。 Event Detail complete Event Event Object Type: l...

来源: laya_api 发布时间: 20170929

163. 打包测试测出的问题 ndk error: Invalid memory reference 是什么原因 该怎么解决 [ 64%]

...uild: 360/QK1515/QK1515:6.0.1/MMB29M/6.0.059.P3.161026.QK1515:user/release-keys Hardware: msm8952 Revision: 0 Bootloader: unknown Radio: unknown Kernel: Linux version 3.10.84-perf-gfaa9bea-00282-g0656adc (system2@localhost) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #1 SMP PREEMPT Wed O...

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

164. laya.net.HttpRequest [ 64%]

...ault = null) — (default = null) HTTP 请求的头部信息。参数形如key-value数组:key是头部的名称,不应该包括空白、冒号或换行;value是头部的值,不应该包括换行。比如["Content-Type", "application/json"]。 Event Detail complete Event Event Object Type: l...

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

165. 使用方向键 控制精灵在格子中移动 [ 64%]

...加我的微信 一起研究 13890999   事件 Laya.stage.on(Laya.Event.KEY_UP,this,this.onkeyup); Laya.stage.on(Laya.Event.KEY_DOWN,this,this.onkeydown); Laya.timer.frameLoop(1,this,this.loop);事件响应 onkeyup(e){ for(let i:number = 0;i<this.keyList.length;i++){ if(this.keyList[i]==e.keyCod...

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

166. laya.display.Animation_API3.0 [ 63%]

...从而节省了动画模版创建的开销。 动画模版缓存池,以key-value键值对存储,key可以自定义,也可以从指定的配置文件中读取,value为对应的动画模版,是一个Graphics对象数组,每个Graphics对象对应一个帧图像,动画的播放实质就...

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

167. U3D场景导不出,出现以下问题。求帮忙导出!!!!! [ 63%]

U3D场景导不出,出现以下问题。求帮忙导出!!!!! KeyNotFoundException: The given key was not present in the dictionary. System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.List`1[System.String]].get_Item (System.String key) (at /Users/builduser/b...

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

168. Socket能连接到服务器,客户端发请求也能收到服务端的数据,但是服务端主动推送数据,客户端就是收不到数据? [ 62%]

...er); if(index>=0){ list.splice(index,1); } } public function GetHandler(key:String):IHandler { for(var i:int=0;i<list.length;i+=1) { var handler:IHandler=list.GetHandler(key); if(handler!=null){ return handler; } }  return null; } public function Send(data:String):void { socket.send(data); } ...

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

169. 如何能监听到TouchStart和TouchEnd事件 [ 62%]

...性值。*/         static CLOSE: string;         /** 定义 keydown 事件对象的 type 属性值。*/         static KEY_DOWN: string;         /** 定义 keypress 事件对象的 type 属性值。*/         static KEY_PRESS: string;         /** 定义 key...

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

170. laya.ui.UIEvent [ 62%]

...Public Properties Show Inherited Public Properties PropertyDefined By altKey : Boolean[read-only] 表示 Alt 键是处于活动状态 (true) 还是非活动状态 (false)。 Event charCode : Boolean[read-only] 包含按下或释放的键的字符代码值。字符代码值为英文键盘值。 Ev...

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