Table of Contents

Method MakeNewGraph

Namespace
Gamelogic.Grids2.Graph.Editor
Assembly
Gamelogic.Grids2.Editor.dll

MakeNewGraph<TGraph>(string, string)

Brings up a save file dialog that allows the user to specify a location to save a new graph, makes a new graph, and saves it to the specified location.

public static TGraph MakeNewGraph<TGraph>(string defaultName, string subExtension) where TGraph : ScriptableObject

Parameters

defaultName string
subExtension string

Returns

TGraph

The graph if it was successfully created and saved; null otherwise.

Type Parameters

TGraph