Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question I want to create a customized flow graph in unity, what kind of tools should I use?

Discussion in 'Visual Scripting' started by likemango, Sep 27, 2023.

  1. likemango

    likemango

    Joined:
    Dec 26, 2018
    Posts:
    11
    可能我已经总结了所有的图形编辑器及其实现方式。希望大家留下评论,帮助我走出这个沼泽。

    以下是我想要实现的关键功能:

    1. 自定义的Unity资源可以通过它的图形编辑器进行编辑和保存,图形可以有许多自定义的图形节点,例如一个特定的节点可以链接另一个自定义的资源。(这帮助我构建一个层次结构,双击这个节点将带我到其链接的资产并打开一个新的图形编辑器)。
    2. 在运行时,当我打开图形编辑器时,我无法编辑它,但会显示从一个节点到另一个节点的移动流程,弹出一个小面板显示其运行状态(这有助于我了解哪个节点正在运行及其逻辑历史记录小路)。
    3. 我可以创建一个层次结构大纲视图来显示其中的节点。我还可以自定义节点的连接规则、外观、属性。
    现在,我看到有一些 API 或工具可能会有所帮助:
    1. Unity.Experiments.GraphView(与GraphTools Foundation(GTF)有什么关系 https://docs.unity3d.com/Packages/com.unity.graphtools.foundation@0.11/manual/index.html)
    2. Unity UI 工具包 (
      )
    3. XNode插件(
      )
    4. UI节点连接4(https://assetstore.unity.com/packages/tools/gui/ui-node-connect-4-245389#description)
    现在,我对这些 api 或工具感到困惑:
    1. 这些 api 有什么区别,这些工具中使用了哪些 api?
    2. 有没有一个技术路线可以遵循来实现我想要的?(也许那些工具可以处理我想要的东西?)
    同时,我希望它是一个稳定的 api(不是实验性的),并且 UI 看起来更现代(GraphView 看起来比 xnode 好得多... )
    感谢您的任何建议!
     
  2. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    10,329
    I just approved your post but note that you should translate this to English if you don't want your posts continually going for forum moderation.
     
  3. likemango

    likemango

    Joined:
    Dec 26, 2018
    Posts:
    11
    I wrote it by english don't know why and when it turn to chinese, I have created a new thread by english, thanks.