docs.unity3d.com
    Show / Hide Table of Contents

    Create a new unassigned graph with the empty graph creation flow

    You can use the empty graph creation flow to create a new unassigned graph for use in your project.

    The Empty Graph Creation Flow window

    Note

    To use the graph file, you must attach it to a Script Machine or State Machine.

    For more information on other ways to create a graph file, see Create a new graph file.

    To create a new unassigned graph:

    1. Go to Window > Visual Scripting > Visual Scripting Graph.

    2. In the new Visual Scripting window, select one of the following options:

      • To create a new Script Graph, select Create new Script Graph.
      • To create a new State Graph, select Create new State Graph.
    3. Choose a location to save the new graph file.

    4. Enter a name for the graph.

    5. Select Save.

      The new graph file automatically opens in a new window.

    The new graph file should look similar to the following image:

    A new Script Graph, created with the empty graph creation flow with starter nodes

    Next steps

    After you create a new graph, attach it to a Script Machine or State Machine to use it in your application. For more information, see Attach a graph file to a Script Machine or State Machine.

    In This Article
    • Next steps
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023