Inheritance: EditorWindow
Ejemplo n.º 1
0
        public void OnGUI()
        {
            Instance = this;
            var rect = new Rect(0f, 0f, this.position.width, this.position.height);

            GUILayout.BeginArea(rect);
            _scrollPosition = GUILayout.BeginScrollView(_scrollPosition);
            InvertApplication.SignalEvent <IDrawGraphExplorer>(_ => _.DrawGraphExplorer(rect));
            GUILayout.EndScrollView();
            GUILayout.EndArea();
        }
Ejemplo n.º 2
0
        public void OnGUI()
        {
            Instance = this;
            var rect = new Rect(0f, 0f, this.position.width, this.position.height);

            GUILayout.BeginArea(rect);
            _scrollPosition = GUILayout.BeginScrollView(_scrollPosition);
            InvertApplication.SignalEvent<IDrawGraphExplorer>(_ => _.DrawGraphExplorer(rect));
            GUILayout.EndScrollView();
            GUILayout.EndArea();

        }