Unity-SerializableDictionary:Unity的可序列化字典类

上传者: 42143092 | 上传时间: 2024-05-22 16:53:20 | 文件大小: 187KB | 文件类型: ZIP
可序列化字典 Unity的可序列化字典类。 Unity无法序列化标准字典。 这意味着它们将不会在检查器中显示或编辑,并且不会在启动时实例化。 一个经典的解决方法是将键和值存储在单独的数组中,并在启动时构造字典。 该项目提供了一个通用的字典类及其可解决此问题的自定义属性抽屉。 产品特点 它继承自Dictionary 它实现了CopyFrom(IDictionary)方法来帮助分配常规字典中的值 您可以统一使用任何可序列化的类型作为键或值。 可以在检查器中对其进行编辑,而无需实现自定义编辑器或属性抽屉。 检查器将处理无效的字典键,例

文件下载

资源详情

[{"title":"( 49 个子文件 187KB ) Unity-SerializableDictionary:Unity的可序列化字典类","children":[{"title":"Unity-SerializableDictionary-master","children":[{"title":"Assets","children":[{"title":"Scripts","children":[{"title":"DebugUtils.cs <span style='color:#111;'> 594B </span>","children":null,"spread":false},{"title":"DebugUtils.cs.meta <span style='color:#111;'> 263B </span>","children":null,"spread":false}],"spread":true},{"title":"SerializableDictionary","children":[{"title":"Example","children":[{"title":"UserSerializableDictionaries.cs.meta <span style='color:#111;'> 263B </span>","children":null,"spread":false},{"title":"UserSerializableDictionaries.cs <span style='color:#111;'> 813B </span>","children":null,"spread":false},{"title":"SerializableDicitonary Example.unity.meta <span style='color:#111;'> 90B </span>","children":null,"spread":false},{"title":"SerializableDicitonary Example.unity <span style='color:#111;'> 6.54KB </span>","children":null,"spread":false},{"title":"SerializableDictionaryExample.cs.meta <span style='color:#111;'> 263B </span>","children":null,"spread":false},{"title":"SerializableDictionaryExample.cs <span style='color:#111;'> 934B </span>","children":null,"spread":false}],"spread":true},{"title":"SerializableHashSet.cs <span style='color:#111;'> 3.94KB </span>","children":null,"spread":false},{"title":"Editor","children":[{"title":"SerializableDictionaryPropertyDrawer.cs.meta <span style='color:#111;'> 263B </span>","children":null,"spread":false},{"title":"SerializableDictionaryPropertyDrawer.cs <span style='color:#111;'> 19.56KB </span>","children":null,"spread":false}],"spread":true},{"title":"Editor.meta <span style='color:#111;'> 107B </span>","children":null,"spread":false},{"title":"SerializableDictionary.cs.meta <span style='color:#111;'> 263B </span>","children":null,"spread":false},{"title":"Example.meta <span style='color:#111;'> 107B </span>","children":null,"spread":false},{"title":"SerializableDictionary.pdf <span style='color:#111;'> 116.04KB </span>","children":null,"spread":false},{"title":"SerializableHashSet.cs.meta <span style='color:#111;'> 243B </span>","children":null,"spread":false},{"title":"SerializableDictionary.pdf.meta <span style='color:#111;'> 175B </span>","children":null,"spread":false},{"title":"SerializableDictionary.cs <span style='color:#111;'> 6.41KB </span>","children":null,"spread":false}],"spread":true},{"title":"Editor","children":[{"title":"DebugUtilsEditor.cs.meta <span style='color:#111;'> 263B </span>","children":null,"spread":false},{"title":"DebugUtilsEditor.cs <span style='color:#111;'> 740B </span>","children":null,"spread":false}],"spread":true},{"title":"Editor.meta <span style='color:#111;'> 192B </span>","children":null,"spread":false},{"title":"SerializableDictionary.meta <span style='color:#111;'> 107B </span>","children":null,"spread":false},{"title":"Scripts.meta <span style='color:#111;'> 192B </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 202B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 6.60KB </span>","children":null,"spread":false},{"title":"ProjectSettings","children":[{"title":"ClusterInputManager.asset <span style='color:#111;'> 114B </span>","children":null,"spread":false},{"title":"ProjectVersion.txt <span style='color:#111;'> 28B </span>","children":null,"spread":false},{"title":"UnityConnectSettings.asset <span style='color:#111;'> 742B </span>","children":null,"spread":false},{"title":"QualitySettings.asset <span style='color:#111;'> 4.38KB </span>","children":null,"spread":false},{"title":"EditorSettings.asset <span style='color:#111;'> 405B </span>","children":null,"spread":false},{"title":"ProjectSettings.asset <span style='color:#111;'> 15.94KB </span>","children":null,"spread":false},{"title":"InputManager.asset <span style='color:#111;'> 5.66KB </span>","children":null,"spread":false},{"title":"NavMeshAreas.asset <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"Physics2DSettings.asset <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"TimeManager.asset <span style='color:#111;'> 202B </span>","children":null,"spread":false},{"title":"TagManager.asset <span style='color:#111;'> 378B </span>","children":null,"spread":false},{"title":"DynamicsManager.asset <span style='color:#111;'> 715B </span>","children":null,"spread":false},{"title":"NetworkManager.asset <span style='color:#111;'> 151B </span>","children":null,"spread":false},{"title":"EditorBuildSettings.asset <span style='color:#111;'> 138B </span>","children":null,"spread":false},{"title":"GraphicsSettings.asset <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false},{"title":"PresetManager.asset <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"AudioManager.asset <span style='color:#111;'> 328B </span>","children":null,"spread":false}],"spread":false},{"title":"docs","children":[{"title":"SerializableDictionary_screenshot3.png <span style='color:#111;'> 7.27KB </span>","children":null,"spread":false},{"title":"SerializableDictionary_screenshot5.png <span style='color:#111;'> 9.52KB </span>","children":null,"spread":false},{"title":"SerializableDictionary_screenshot2.png <span style='color:#111;'> 5.07KB </span>","children":null,"spread":false},{"title":"SerializableDictionary_screenshot4.png <span style='color:#111;'> 7.57KB </span>","children":null,"spread":false},{"title":"SerializableDictionary_screenshot1.png <span style='color:#111;'> 10.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"Packages","children":[{"title":"manifest.json <span style='color:#111;'> 26B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明