Skip to content
 
 

Repository files navigation

NodeGraphProcessor + Odin

Node graph editor framework focused on data processing using Unity UIElements, GraphView and C# 4.7

这个项目是本人NodeGraphProcessor接入Odin序列化的示例。本仓库将持续跟进更新。

NodeGraphProcessor版本:https://github.com/alelievr/NodeGraphProcessor/

Odin插件官网地址:https://odininspector.com/

相关博客:https://www.lfzxb.top/nodegraphprocesssor-and-odin/

功能

  • 接入Odin序列化
  • 支持List,Dictionary,HashSet,Stack等泛型集合序列化与可视化

TODO

  • 在Inseoctor面板修改的Node数据需要即时渲染在Graph上。原因是仓库原生版本是用了BaseNodeView + NodeCustomEditor做协调同步,而我们使用Odin序列化后就丢失了特定NodeView的相关信息,待修复
  • 不同的Graph需要有不同的节点搜索范围。例如行为树Graph在创建节点时只会搜索行为树相关节点内容而不会搜索到碰撞关系编辑器相关节点内容
  • 优化Node之间参数传递的拆装箱消耗

截图

About

Node graph editor framework focused on data processing using Unity UIElements and C#,with Odin!

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages