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

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

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

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

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