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

            _graphView.StretchToParentSize();
            rootVisualElement.Add(_graphView);
        }