Example #1
0
        private void Update()
        {
            if (running)
            {
                handleGameSceneChange();

                foreach (Toolbar toolbar in toolbars.Values)
                {
                    toolbar.update();
                }
                UpdateChecker.update();
                if (ShowGUI)
                {
                    CursorGrabbing.Instance.update();
                }
            }
        }
Example #2
0
        internal void Update()
        {
            if (running)
            {
                handleGameSceneChange();

                foreach (Toolbar toolbar in toolbars.Values)
                {
                    toolbar.update();
                }
                if (updateChecker != null)
                {
                    updateChecker.update();
                }
                if (showGUI())
                {
                    CursorGrabbing.Instance.update();
                }
            }
        }