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

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

11. Dictionary问题 [ 94%]

LayaAir引擎 Dictionary问题 for each(var block:Block in _blockDict){ block.loadMosaic(); } _blockDict 是一个Dictionary,运行起来后报错,提示block.loadMosaic();不是一个函数,但我定义的的确是一个函数,不知道为什么会报错,很怪 2016-10-06 添加评论 ...

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

12. Laya 2.0 Array Dictionary 这些类都没有了? 请问哪里可以下到2.0的源码 [ 94%]

Laya 2.0 Array Dictionary 这些类都没有了? 请问哪里可以下到2.0的源码 2018-11-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Ai文广 赞同来自: Laya.WeakObject 2018-11-06 0 1 分享 微...

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

13. 骨骼释放纹理 Templet.TEMPLET_DICTIONARY[this.url] url用错了导致Templet删不掉 [ 94%]

骨骼释放纹理 Templet.TEMPLET_DICTIONARY[this.url] url用错了导致Templet删不掉     /**     *释放纹理     */     __proto.destroy=function(){         this._isDestroyed=true;         var tTexture;         var $each_tTexture;         /*for...

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

14. KeyNotFoundException: The given key was not present in the dictionary. unityAir3d1.7.16 [ 94%]

KeyNotFoundException: The given key was not present in the dictionary. unityAir3d1.7.16 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 /Us...

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

15. laya.Dictionary的keys接口 [ 93%]

laya.Dictionary的keys接口 var obj2 = Laya.loader.getRes("json/storyData.json"); storyData = new Laya.Dictionary(); obj2.forEach(function (v,i) { storyData[v.entry] = v; }); console.log(storyData.keys); 这段代码中,输出的是[],为什么?api里不是有keys接口么?values也是一...

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

16. 骨骼动画Laya.Templet.TEMPLET_DICTIONARY问题 [ 93%]

骨骼动画Laya.Templet.TEMPLET_DICTIONARY问题 这个东西在模板类里, 而我想清理Laya.Templet的时候,这个就直接清除了,导致相同url的骨骼动画直接就清理掉了, 那如果我要预加载的话,按这么这么做必须分成2个部分,加载url资源以...

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

17. 关于LAYA2.0下自己实现dictionary的问题 [ 93%]

关于LAYA2.0下自己实现dictionary的问题 如题,我想试着自己实现一个比较效率高的Dictionary类,实现get set values remove keys 等方法。 一开始想用weakObject和any[]分别储存key和value,但是发现执行remove之后,values很难再和key对应; 后面想...

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

18. 给Dictionary添加个长度 [ 92%]

给Dictionary添加个长度 附上AS3代码,在官方基础上的修改,希望官方能纳入到引擎中package laya.utils { /** * <code>Dictionary</code> 是一个字典型的数据存取类。 */ public class Dictionary { private var _lenght:int = 0; private var _values:Array = ...

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

19. Unity导出报错KeyNotFoundException: The given key was not present in the dictionary. [ 92%]

Unity导出报错KeyNotFoundException: The given key was not present in the dictionary. Unity版本5.6.1f1(64bit) LayaAirUnityPlugin 1.7.16beta Unity里创建的动画;AnimationType为Generic     KeyNotFoundException: The given key was not present in the dictionary. System.Collections.Gene...

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

20. unity 3d 骨骼动画资源到处 KeyNotFoundException: The given key was not present in the dictionary 问题 [ 90%]

unity 3d 骨骼动画资源到处 KeyNotFoundException: The given key was not present in the dictionary 问题 导出动画失败,没找到原因。能帮忙看下不?非常感谢! 附件 : --> sample.unitypackage_.zip 2018-03-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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