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

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

151. 内存释放问题 [ 48%]

...gt; 20; console.log("curM:", curMem); } ResUIModuleManager.poolModulResDic.remove(className); } }   上面是封装了一个类来加载UI模块资源的,遇到一个问题就是 调用 “cleanModuleAtlas”后资源没有释放! 2017-09-05 添加评论 免费帖 --> 分享 微博 QZONE 微信...

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

152. 微信小游戏wxmin图片加载有点问题 [ 47%]

...eadyUrl == readyUrl, 'zhege') if (fileObj.readyUrl !=readyUrl) MiniFileMgr.remove(tempFileName,readyUrl,callBack); } },fail:function (data){ callBack !=null && callBack.runWith([1,data]); }}); } 2018-01-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

153. Bitmap引用计数的问题 [ 47%]

...他地方还有引用,就先把当前的显示对象从显示列表移除remove掉,不要移除纹理(用dispose或clearRes),如果确定当前的纹理没有地方会用到了,再做销毁处理!目前做不到销毁texture纹理后,依然保持其他有该纹理引用的显示对...

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

154. Laya拖尾怎么停止或清除,比如要瞬移角色的时候停止。伤脑壳~~!! [ 46%]

...色要瞬移的时候,从A点移到B点。 我把这个拖尾在A点时remove,再B点时addChild。 它还是从原来的A位置拖过来B了,造成BUG现象。   重点:希望对拖尾API添加一个重置或清除的API,好让它从新的位置开始计算拖尾。 重点:重点:希...

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

155. 帮忙看看Texture类getPixels内存泄漏的问题。 [ 44%]

...存泄漏*************/ if(pixelCount / _initPixelCount < 0.3) { trace("remove"); _htmlCanvas.clear(); _htmlCanvas.destroy(); _tex.destroy(); _colorSpr.off(Event.MOUSE_MOVE, this, __moveHandler); } } private function getPixel(tex:Texture):int { var pixelCount:int = 0; /************getPixels内存...

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

156. Shader预编译(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 44%]

...种 ```typescript add(variant); ``` 4.移除着色器变种 ```typescript remove(variant); ``` 5.是否包含着色器变种 ```typescript contatins(variant); ``` 6.执行编译(compile会遍历着色器变种集合中的所有着色器变种,依据每个着色器变种的信息,分别编译出...

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

157. Shader预编译(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 43%]

...ariant: ShaderVariant): boolean; ``` 4.移除着色器变种 ```typescript remove(variant: ShaderVariant): boolean; ``` 5.是否包含着色器变种 ```typescript contatins(variant: ShaderVariant): boolean; ``` 6.执行编译(compile会遍历着色器变种集合中的所有着色器变种,依据...

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

158. 重要问题:关于苹果审核被拒 [ 43%]

... may result in the termination of your Apple Developer account, as well as removal of all associated apps from the App Store.   2018-02-28 0 2 分享 微博 QZONE 微信 riven 赞同来自: 请问你们新的库什么时候能弄好,我们等着提交app store审核,很紧急呀 2018-03-01 0 1 ...

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

159. 打CPK包在手机上运行会白屏,手机测试型号VIVO1419L。 [ 43%]

...ss, renderers=0 10-13 17:31:15.891 6514-6514/com.vivo.vs W/art: Attempt to remove local handle scope entry from IRT, ignoring 10-13 17:31:15.901 6514-6514/com.vivo.vs W/chromium: [WARNING:resource_bundle.cc(315)] locale_file_path.empty() 10-13 17:31:15.901 6514-6514/com.vivo.vs I/chromium: [INFO:aw_...

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

160. 分享:List相关(Item增删功能) [ 43%]

...,但是条目删除不干净(或我的数据错乱了)------参考onRemoveClick回调   大致代码如下:package { import laya.display.Sprite; import laya.events.Event; import laya.net.Loader; import laya.ui.Box; import laya.ui.CheckBox; import laya.ui.Clip; import laya.utils.Handler; imp...

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