Odin - Inspector and Serializer 学习笔记总结

本文记录了学习Odin - Inspector and Serializer的过程,旨在解决Unity Editor编程中的序列化问题,如Dictionary序列化、多态处理等。通过介绍导入插件的两种方式,以及提供学习目录,包括官网的快速教程、特性详解和API文档,帮助开发者更好地理解和应用Odin插件。
摘要由CSDN通过智能技术生成

Odin - Inspector and Serializer 学习笔记

学习目的

由于Unity本身的Editor编程中,存在其自身的局限性,比如:无法序列化Dictionary,对多态、空值、循环嵌套等序列化显示,Inspector或EditorWindow多线程下复杂属性显示处理等等;由于这些原因,Inspector and Serializer 类型的插件变得非常有重要意义,许多unity项目往往都需求这样的插件。而Odin - Inspector and Serializer 是此类插件中非常好,也非常多人使用的插件。(Unity Asset Store 的链接
评分跟评论还是相当多的

导入插件

一般情况下,如同其他插件包(.unitypackage)一样导入unity工程便可以完成导入操作。导入成功后可以在菜单栏上看到 “Tools > Odin Inspector > Getting Started” 选项(官网的导入步骤指引)。也有使用Unit

Odin 将催化你的 Unity 工作流程,使它轻易地为你和整个团队构建功能强大并适用于高级用户的编辑器。 资源商店版本是针对过去 12 个月内收入或资金低于 20 万美元的实体或公司而设的。企业选项可以在这里获取。 ☄️ OdinInspector.com:了解 Odin Inspector 的一切。 ☄️ 手册:快速入门 ☄️ 支持:提交任何问题 ☄️ 路线图:下一步是什么? 在 2019 年 5 月 28 日之前购买了 Odin?从 https://odininspector.com/download 免费获得 Odin 源代码和验证器插件 Odin 能够完美部署到原有的工作流程中,无需费力的集成工作,让您能够序列化任何内容,并使用 80 多个全新检测器属性、无样板代码和更多功能来使用 Unity! 看看 2.1 版有什么更新! ☄️ 亮点 ☄️ - 轻松集成 - 纯编辑器模式 - Odin 编辑器窗口 - 输入验证 - 序列化任何对象 - 强大的列表 - 惊人的扩展性 - 调色板 - 字典 - 还有更多! · 轻松集成: Odin 很容易操作,并且不会打破你的已有工作流程。实际上你甚至不需要继承任何东西,也就是说你的现有编辑器将继续与 Odin 适用。 · 纯编辑器模式: 仅使用 Odin 的编辑器改进,完全禁用序列化。 · Odin 编辑器窗口: 您现在可以使用 Odin 来快速创建自定义的编辑器窗口,帮助组织您的项目和游戏数据。 · 输入验证: 通过允许您的开发者设置场景和输入验证来赋能您的整个团队,让 Unity 的使用对艺术家和开发者来说变得前所未有的容易。 · 序列化任何对象: Odin 使用我们评级很高的自定义序列化协议,让您既可以继承我们的 SerializedBehaviour、SerializedScriptableObject 等,也可以为您已有的类添加几行新代码,让可以序列化的任何内容都得到序列化。是的,甚至是多态类型! 在 2018.3 以上版本中,Odin 序列化的预制件由于嵌套的预制系统而被弃用。 · 功能强大的列表: 所有实现 Microsoft IList 接口的数组和列表均由我们强大的列表绘制器绘制; 拖放、插入和删除单个项目、多维数组、表、交叉列表,甚至是跨窗口的项目拖动、分页、嵌套列表绘制和更多! · 惊人的可扩展性: 强大而灵活的 API 让你轻易扩展和修改检查器的绘制方式。快速创建全新的属性组类型和自定义绘画器! • 更多内容! Odin 还添加了词典、自定义布局、资源列表、值下拉列表、嵌入式编辑器、调色板,甚至更多内容! ☄️平台支持 ☄️ 功能丰富且得到优化的 Odin 序列化器支持: - 桌面 - Android - iOS - WebGL - PlayStation - Xbox - Nintendo Switch - Oculus - 所有的 IL2CPP 平台 - UWP 仅得到 IL2CPP 后端的支持
Odin puts your Unity workflow on steroids, making it easy to build powerful and advanced user-friendly editors for you and your entire team. The Asset Store version is for entities or companies with revenue or funding less than $200k in the last 12 months. Enterprise options are available here. OdinInspector.com: Learn what Odin Inspector is all about. Manual: Get started quickly Support: Submit any questions Roadmap: What’s next? Bought Odin before 28.05.2019? Get the Odin source code and the validator addons for free at https://odininspector.com/download With an effortless integration that deploys perfectly into pre-existing workflows, Odin allows you to serialize anything and enjoy Unity with 80+ new inspector attributes, no boilerplate code and so much more! See what’s new in version 2.1! HIGHLIGHTS Effortless Integration Editor Only Mode Odin Editor Windows Input Validation Serialize Anything Powerful Lists Insanely Extendable Color Palettes Dictionaries Much More! Effortless Integration: Odin is extremely easy to use and won’t break your existing workflow. In fact, you don’t even need to inherit from anything, which means your existing editors will continue to work even with Odin. Editor-Only Mode: Use Odin only for its editor improvements by disabling serialization completely. Odin Editor Windows: You can now use Odin to rapidly create custom Editor Windows to help organize your project and game data. Input Validation: Empower your entire team by allowing your developers to setup scene and input validations, making using Unity easier than ever for artists and developers alike. Serialize Anything: Odin uses our highly-rated custom serialization protocol, allowing you to either inherit from our SerializedBehaviour, SerializedScriptableObject etc. or add a few lines of code to your existing class, and everything serializable shall be serialized. Yes, even polymorphic types! Odin serialized prefabs are deprecated in 2018.3+ due to
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值