Method MakeNewGraph
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
Returns
- TGraph
The graph if it was successfully created and saved; null otherwise.
Type Parameters
TGraph