Archived
Private
Public Access
1
0
This repository has been archived on 2026-02-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ProjectBackup/Unity/Landmass Generation/Library/PackageCache/com.unity.visualscripting@1.7.6/Documentation~/vs-create-graph-project-window.md
2022-11-12 13:10:03 +01:00

1.3 KiB

Create a new blank graph using 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 Creating a new graph file.

To create a new blank graph:

  1. (Optional) If your Project window isn't already open, go to Window > General > Project, or press CTRL + 5 (macOS: Cmd + 5).

  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. Select one of the following options:

    • To create a new Script Graph, select Script Graph.
    • To create a new State Graph, select State Graph.
  3. Enter a name for your new graph, and press Enter.

When you open your new graph file, you should see something like the image below:

A new empty Script Graph, created using the Project window and containing no starter nodes

Next steps

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