Example #1
0
        protected override void OnGUI()
        {
            _mainToolBar.OnGUI();

            base.Begin();
            DoNodes();
            base.End();

            if (_isViewCenter)
            {
                CenterView();
                _isViewCenter = false;
            }
        }
Example #2
0
        protected override void OnGUI()
        {
            if (_active != null)
            {
                ErrorChecker.Check(_active);
            }
            _mainToolBar.OnGUI();

            base.Begin();
            DoNodes();
            base.End();

            if (_isViewCenter)
            {
                CenterView();
                _isViewCenter = false;
            }
        }