Ejemplo n.º 1
0
        private void OnGUI()
        {
            if (_graphGuiEditor == null)
            {
                return;
            }

            var width  = position.width;
            var height = position.height;

            // Main graph area
            _graphGuiEditor.BeginGraphGUI(this, new Rect(0, 0, width, height - _barHeight));
            _graphGuiEditor.OnGraphGUI();
            _graphGuiEditor.EndGraphGUI();
        }