docs.unity3d.com
    Show / Hide Table of Contents

    Create a new blank graph with the Project window

    You can create a new blank graph through the Project window in the Unity Editor. Your graph contains no starter nodes, and isn't connected to any existing components in your project.

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

    To create a new blank graph:

    1. Go to Window > General > Project, or press Ctrl+5 (macOS: Cmd+5) to open the Project window.

    2. Right-click a folder in the Project window's folder list, or anywhere in the Project window's preview pane, and go to Create > Visual Scripting.

    3. Do one of the following:

      • To create a new Script Graph, select Script Graph.
      • To create a new State Graph, select State Graph.
    4. Enter a name for the new graph.

    5. Press Enter.

    When you open the new graph file, the graph might look similar to the following example.

    A new empty Script Graph, created with the Project window. It has no 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