Unity logo
取消
购物车
应用
Sell Assets

11000+款5星资源

8.5万+用户参与评分

10万+社区成员鼎力支持

每款资源都经过 Unity 审核

首页
工具
实用工具
1/7
This is a Dictionary which is serializable in the inspector and is fully JSON serialization compatible. It is made to be as lightweight as possible and supports Unity types being JSON serialized.
可编程渲染管线(SRP)兼容性
Unity可编程渲染管线(SRP)是让您能够通过C#脚本控制渲染的一个功能。SRP是支撑通用渲染管线(URP)和高清渲染管线(HDRP)的底层技术。
Unity版本内置渲染管线通用渲染管线(URP)高清渲染管线(HDRP)
2022.1.3f1
兼容
兼容
兼容
描述

SerializableDictionary is a Dictionary

which does not require you to create

any classes for different types.


It doesn't use any custom editor

inspector drawing, any extra or external

extensions, or libraries.


It is fully native to the Unity C#

Environment and displays in the

Inspector using your Unity version.


It is created as the most lightweight,

openly customizable, and extensible

SerializableDictionary while also

including a boxing method for Unity

types so they can be JSON Serializable.


I appreciate all feedback and would love to hear any suggestions to improve this asset. Please leave a comment describing any desired changes, new features, and/or extended support.

技术细节
  • Dictionary natively serializable in the inspector window
  • JSON serializable
  • Boxing for JSON serializing Unity types like Vector3
  • Implicit conversion from Dictionary to SerializableDictionary
  • Zero overhead from custom implementations
  • No need to create any extra classes to use it
    • It implements Dictionary directly and is used as one
  • Auto-saves all key and value changes in Edit Mode and in Play Mode
    • It will wait for null and duplicate entries to be resolved by you before saving those specific entries

Native SerializableDictionary [Classless]

(3)
19 users have favourite this asset
(19)
FREE
许可证类型
文件大小
751.8 KB
最新版本
2.0
最新发布日期
2023年3月1日
原始 Unity 版本
2022.1.3
高品质资源
11000+款5星资源
深受用户信赖
8.5万+用户参与评分
强大的社区支持
10万+社区成员鼎力支持
Unity logo
语言
反馈
合作伙伴计划
合作伙伴
USD
EUR
Copyright © 2025 Unity Technologies
所有价格不包含税
USD
EUR