Ejemplo n.º 1
0
        void OnGUI()
        {
            //Start getting Events
            curEvent = Event.current;
            HandleEvents();


            //Draw the Toolbar
            DrawToolBar();

            //Make sure we have the views before proceeding
            if (graphView == null)
            {
                graphView = new EF_Graph_View();
                return;
            }
            scrollPos = GUILayout.BeginScrollView(scrollPos, true, true);

            GUILayout.Label("", GUILayout.Width(10000f), GUILayout.Height(10000f));
            graphView.DrawView();

            GUILayout.EndScrollView();


            Repaint();
        }
Ejemplo n.º 2
0
 static void CreateViews()
 {
     graphView = new EF_Graph_View();
 }