Exemplo n.º 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();
        }
Exemplo n.º 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();
        }
Exemplo n.º 3
0
 public void OnGui()
 {
     OnGuiUpdate.Invoke();
 }