public static Rect Window(int id, Rect screenRect, GUI.WindowFunction func, GUIContent content, GUIStyle style, params GUILayoutOption[] options) { return(GUILayout.DoWindow(id, screenRect, func, content, style, options)); }
public static Rect Window(int id, Rect screenRect, GUI.WindowFunction func, Texture image, params GUILayoutOption[] options) { return(GUILayout.DoWindow(id, screenRect, func, GUIContent.Temp(image), GUI.skin.window, options)); }