1.2 KiB
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:
-
[!includeopen-project-window]
-
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.
-
Do one of the following:
- To create a new Script Graph, select Script Graph.
- To create a new State Graph, select State Graph.
-
Enter a name for the new graph.
-
Press Enter.
When you open the new graph file, the graph might look similar to the following example.
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.