Firstborn/Library/PackageCache/com.unity.visualscripting@1.../Documentation~/vs-create-graph.md
Schaken-Mods 9092858a58 updated to the latest editor
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
2023-05-07 17:43:11 -05:00

2.0 KiB

Create a new graph file

To create a new Visual Scripting graph file, you can use the Unity Editor's Project window, Visual Scripting's empty graph creation flow, or create a graph from a Script Machine or State Machine component.

Use the Project window

If you create a graph with the Project window, the graph is blank. It contains no starter nodes, and isn't attached to any existing components in your project.

For more information on the Unity Editor's Project window, see The Project window in the Unity User Manual.

Use the empty graph creation flow

If you use the empty graph creation flow, you have a few options for how to create your graph:

For more information about GameObjects, see GameObjects in the User Manual.

Any graph you create with the empty graph creation flow contains one or two initial nodes to help you get started with your graph.

Tip

To keep your project organized, place your Visual Scripting graphs in a Graphs folder inside your project's Assets folder.

Use a Script Machine or State Machine

You can also create a blank graph file directly on the Script Machine or State Machine component where you want to use it. For more information, see Create a graph on a Script Machine or State Machine.