很好用的Unity编辑器扩展工具 Odin Inspector教程

Odin Inspector是什么?

Odin Inspector是Unity的一个插件,让您可以享受拥有强大,自定义和用户友好编辑器的所有工作流程优势,而无需编写任何自定义编辑器代码。
Odin包含许多功能,例如Static Inspector,Project Validation,Odin Editor Windows和我们的开源Odin Serializer,它允许您在需要多态对象结构时扩展Unity的序列化功能,或者希望在运行时序列化和反序列化数据。

Odin Inspector可以做什么?

下图是 Odin Inspector 的官方给示例Demo,完成了一个编辑器,OdinInspector 拜托了传统那种要写一堆代码的编辑器拓展,而紧紧使用数据,就可以完成一个强大的编辑器功能,相比原来写代码的方式不知道要省了多少事。

 7643202-e93cde1e53b3259e.gif

 7643202-0e9ccb6bd9e0944d.png

思维导图

7643202-9b64f3ca66ec8b9c.png

 Odin Inspector官网

 Odin Inspector and Serializer | Improve your workflow in UnityOdin Inspector is a plugin for Unity that lets you enjoy all the workflow benefits of having a powerful, customized and user-friendly editor, without ever having to write a single line of custom editor code.https://odininspector.com/

猜你喜欢

转载自blog.csdn.net/qq_33531923/article/details/128486518