private void DrawActualWindow(CatGraph.ActionWrapper wrapper, Rect rect) { GUIStyle style = wrapper.ChooseStyle(); GUI.Window(wrapper.ID, rect, ActionWindowFunction, string.Empty, style); }