Beispiel #1
0
        /// <summary>
        /// Called when initializing the graph controller.
        /// </summary>
        protected virtual void Initialize()
        {
            graph          = ScriptableObject.CreateInstance <EditorGraph>();
            graphGUI       = ScriptableObject.CreateInstance <EditorGraphGUI>();
            graphGUI.graph = graph;

            UpdateGraphImmediate();
            CenterGraph();
        }