docs.unity3d.com
Search Results for

    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
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)