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

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

2791. 微信排行榜组件内存泄漏 [ 56%]

... 个回复 photon 赞同来自: 1562299196用户 打开bin/laya.ui.js找到function WXOpenDataViewer把this.texture的实例化放到onEnable里面,在onDisable加一句this.texture.bitmap.destroy();   2019-07-10 1 0 分享 微博 QZONE 微信 1562299196用户 赞同来自: 请问下怎么解决...

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

2792. 打进APP的时候,不能动态加载js [ 56%]

打进APP的时候,不能动态加载js public function loadJsFile(filename):void{             trace("进来了");             var fileref:*=Browser.document.createElement('script');             fileref.setAttribute("type","text/javascript");             filere...

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

2793. 加载的nativeimage处理 [ 56%]

....load("ui/image.png", Handler.create(this, onSkinLoadComplete)); } private function onSkinLoadComplete(e:*=null):void { var texture:Texture=Loader.getRes("ui/image.png"); var sp:Sprite=new Sprite(); sp.graphics.drawTexture(texture); Laya.stage.addChild(sp); } 2017-06-03 0 1 分享 微博 QZONE 微...

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

2794. 需要用SoundChannel的play()方法,报错说不存在play()方法? [ 56%]

... ImageData is not defined? 导微信小程序报错window.focus is not a function 微信小游戏编译报错 问题状态 最新活动: 2017-11-03 15:16 浏览: 1228 关注: 2 人

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

2795. Laya事件不能添加给多边形吗? [ 56%]

...); Laya.stage.addChild( clickRect ); clickRect.on( Laya.Event.CLICK, this, function(){ console.log( 'adf' ) } );   我创建一个多边形,然后添加一个点击事件就没反应。但是如果添加一个图片,点击就有反应,请问是我的写法有问题吗? 2018-02-01 添加评...

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

2796. 有打地鼠游戏的源代码吗? [ 56%]

...示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function JS打地鼠 加载资源图片失败 按照打地鼠教程来无法正常加载资源 看打地鼠的Demo的几个疑问 问题状态 最新活动: 2018-02-08 19:32 浏览: 1433 关注: 2 人 Laya_Aaron • 2018-02-0...

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

2797. 打开dialog如果有黑底 这时候closeAll会报错 [ 56%]

...axUI.ts有前缀导致报错 导微信小程序报错window.focus is not a function [分享]Dialog 点击边缘不关闭的 Demo示例 官网示例摇一摇报错,就解决方案 问题状态 最新活动: 2017-11-21 20:48 浏览: 591 关注: 2 人 lifereset • 2017-11-21 21:58 就是closeall的...

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

2798. Laya.loader.create 进度回调函数执行两次!!! [ 56%]

...r.create(this,this.onProgress,null,false)); Manager.prototype.onProgress = function(value) { console.log("value=="+Math.floor(value*100)+"%"); }   输出结果: 0.19186599730944645 0.5251993306427798 1 0.5002049180327869 0.5626793032786885 0.6251536885245902 0.6876280737704918 0.7501024590163934 ...

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

2799. laya2.4 2.5 2.6 layacloud js文件报错 [ 56%]

...mPlugin.game_plugin_init(3); 导微信小程序报错window.focus is not a function 官网示例摇一摇报错,就解决方案 问题状态 最新活动: 2020-03-19 09:11 浏览: 697 关注: 1 人

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

2800. laya2.0 接入新的开放域功能,报错 [ 56%]

...mPlugin.game_plugin_init(3); 导微信小程序报错window.focus is not a function 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 微信小游戏编译报错 laya2 发布微信开放域工程,用微信开发者工具打开报错 laya2.0 3d...

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