Change graphs in runtime

Forums 💬 FlowCanvas ⚙️ Support Change graphs in runtime

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #21991
    dongpil lim
    Participant

      Is it possible to use a one FlowScriptController to change multiple graph files at runtime?

      I would like to create a graph file for each skill and execute it while replacing it during runtime.

      #21992
      Gavalakis
      Keymaster

        Hello,

        Sorry for late reply.
        Yes, that is very possible and easy. You can create as many FlowScript assets as you’d like and then change the “active” flowScript by getting a reference to the FlowScriptController and calling SwitchGraph.
        controller.SwitchGraph(someFlowScriptAsset).

        Let me know if that works for you.
        Thanks.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.