public void OnGUI() { GUI.depth = 0; OnGuiUpdate.Invoke(); Action windows = delegate { }; foreach (var window in AbstractWindow.Windows.Values) { windows += window.Draw; } windows.Invoke(); }
// 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(); }