RedZero9 发表于 2021-10-19 13:56

Unity可视化脚本之——xNode【1】

一、可视化编程的特点

不需要写代码对新人友好能够直观的表达:数据、流程、关系
二、 常见的可视化编程语言

LabviewVirtoolsUnreal Engine 4 BlueprintsUnity 3D Bolt

[更多参考资料(维基百科):可视化编程]Visual programming language - Wikipedia
三、xNode介绍

xNode


你想自己徒手开发一款基于节点的插件吗?如果是,那就试一下xNode吧,这款插件绝对值得你拥有。 你可以将它作为一个归档文件下载并解压到一个新的unity项目中,或者将它连接为git子模块。

Thinking of developing a node-based plugin? Then this is for you. You can download it as an archive and unpack to a new unity project, or connect it as git submodule.

xNode非常友好、直观,它可以帮助您在短时间内就能品尝到使用节点图的好处。 它占用空间很小,特别适用于构建状态机、对话系统、决策系统。

xNode is super userfriendly, intuitive and will help you reap the benefits of node graphs in no time. With a minimal footprint, it is ideal as a base for custom state machines, dialogue systems, decision makers etc.

image.png

Key features


Lightweight in runtime—— 轻量化的运行时

Very little boilerplate code —— 本身代码量就少

Strong separation of editor and runtime code —— 编辑器代码和运行时代码进行了良好的隔离

No runtime reflection (unless you need to edit/build node graphs at runtime. In this case, all reflection is cached.) —— 没有运行时反射(除非您需要在运行时对节点图进行编辑或者构建。)

Does not rely on any 3rd party plugins —— 没有依赖任何第三方插件,无毒副作用,可安心服用

Custom node inspector code is very similar to regular custom inspector code —— xNode的inspecotr代码编写与Unity 自带的 Inspector编写一致

Supported from Unity 5.3 and up —— 支持5.3及更高版本
四、xNode的下载


GitHub - Siccity/xNode: Unity Node Editor: Lets you view and edit node graphs inside Unity
五、xNode案例及相关博文


Unity xNode节点插件简单使用介绍 | 码农家园 (codenong.com)

自定义节点编辑器xNode——Graph和Node简介(一)_工 具 人-CSDN博客_xnode

自定义节点编辑器xNode——NodePort和PortConnection(二)_工 具 人-CSDN博客

自定义节点编辑器xNode——Node介绍(三)_工 具 人-CSDN博客_xnode

自定义节点编辑器xNode——简单使用(四)工 具 人-CSDN博客节点编辑器

Unity飞机游戏模板】利用xNode自制飞机游戏模板的使用说明 | 蓝图(附下载)
页: [1]
查看完整版本: Unity可视化脚本之——xNode【1】