public static GraphSaveUtility GetInstance(DialogueGraphView targetGraphView) { return(new GraphSaveUtility { _targetGraphicView = targetGraphView }); }
/// <summary> /// Instantiates a new instance of DialogueGraphView /// </summary> private void ConstructGraphView() { _graphView = new DialogueGraphView { name = "Dialogue Graph" }; _graphView.StretchToParentSize(); rootVisualElement.Add(_graphView); }