示例#1
0
        public void OnGUI()
        {
            GUI.depth = 0;
            OnGuiUpdate.Invoke();

            Action windows = delegate { };

            foreach (var window in AbstractWindow.Windows.Values)
            {
                windows += window.Draw;
            }
            windows.Invoke();
        }
示例#2
0
        // Updated for new GUI Draw handling
        public void OnGUI()
        {
            if (!mGUIVisible)
            {
                return;
            }

            if (TimeWarpDecorator != null)
            {
                TimeWarpDecorator.Draw();
            }

            GUI.depth = 0;
            OnGuiUpdate.Invoke();

            Action windows = delegate { };

            foreach (var window in AbstractWindow.Windows.Values)
            {
                windows += window.Draw;
            }
            windows.Invoke();
        }
 public void OnGui()
 {
     OnGuiUpdate.Invoke();
 }