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

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

511. Animator如何监听播放完毕 [ 80%]

...如何监听播放完毕 版本 2.0.0bate4 , 1.0版本的Animator.on( Laya.Event.COMPLETE ) 方法在2.0.0bate4中行不通 . 那目前如何监听动画播放结束呢 ???? 2018-11-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

512. LayaNative ios上舞台不会触发移出事件 [ 80%]

...发移出事件 LayaNative2.6版本中,在ios设备上不会触发Laya.Event.MOUSE_OUT事件 2020-05-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问题请...

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

513. layabox能用上webp图片格式么? [ 80%]

...dmeo试一下 var loader:Loader=new Loader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE,onCom); loader.load(new URLRequest("aaa")); private function onCom(event:Event):void { // TODO Auto-generated method stub addChild(event.target.content) } 使用宏命令(Laya_Publish_H5)翻译...

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

514. 点击过快问题 [ 80%]

... 赞同来自: zjw917329684 参考下下面的写法吧: Laya.stage.once(Event.CLICK,this,onClick); } private function onClick():void { trace("aaa"); Laya.stage.off(Event.CLICK,this,onClick); Laya.timer.once(500,this,onLoop); } private function onLoop():void { Laya.stage.once(Event.CLICK,this,onCl...

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

515. laya.resource.RenderTextureCube_API3.0 [ 80%]

... _removeReference _setCPUMemory _setCreateURL _setGPUMemory _start destroy event getData gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recreate clearPool configRenderContextInstance createFromPool destroyUnusedResources recoverToPool Constructors constructor new Rende...

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

516. laya.d3.webxr.core.WebXRRenderTexture_API3.0 [ 79%]

...rTarget _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event getData gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recreate clearPool configRenderContextInstance createFromPool destroyUnusedResources recoverToPool Constructors constructor new WebXR...

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

517. laya.d3.resource.MulSampleRenderTexture_API3.0 [ 79%]

... _removeReference _setCPUMemory _setCreateURL _setGPUMemory _start destroy event getData gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once protected recreate clearPool createFromPool destroyUnusedResources recoverToPool Constructors constructor new MulSampleRenderTexture(...

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

518. 怎么给舞台设置焦点 [ 79%]

...容相关的链接 提交 4 个回复 ymsdandan 赞同来自: 监听一下Event.BLUR和Event.FOCUS试试吧,(格式Laya.stage.on(Event.BLUR)) 2017-11-08 0 0 分享 微博 QZONE 微信 yllczjh 赞同来自: 我得需求是鼠标光标默认在文本框上 ,加监听应该解决不了吧...

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

519. Sprite-屏幕截图 [ 79%]

...ar btn = new Laya.Button(skin,name); Laya.stage.addChild(btn); btn.on(Laya.Event.CLICK,this,cb); btn.size(147,55); btn.name = name; btn.right = 10; btn.top = index * (btn.height + 10); return btn; } onLoaded(){ for (let index = 0; index = ["res/button.png", "res/button.png", "res/button.png"]; priva...

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

520. 如何获取安卓虚拟键的高度 [ 79%]

...链接 提交 2 个回复 qian 赞同来自: 你可以尝试监听舞台的Event.RESIZE、Event.FOCUS或者Event.INPUT尝试获取Laya.Browser.width、Laya.Browser.height,让初始化的宽高减去发生变化时可视区域的宽高,就是键盘的宽高! 2018-03-26 0 0 分享 微博 QZONE ...

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