// Make an auto-sized draggable window... static Rect DoWindow(int id, Rect screenRect, GUI.WindowFunction func, GUIContent content, GUIStyle style, GUILayoutOption[] options) { GUIUtility.CheckOnGUI(); LayoutedWindow lw = new LayoutedWindow(func, screenRect, content, options, style); return(GUI.Window(id, screenRect, lw.DoWindow, content, style)); }
internal LayoutedWindow(GUI.WindowFunction f, Rect screenRect, GUIContent content, GUILayoutOption[] options, GUIStyle style) { m_Func = f; m_ScreenRect = screenRect; m_Options = options; m_Style = style; }
internal LayoutedWindow(GUI.WindowFunction f, Rect _screenRect, GUIContent _content, GUILayoutOption[] _options, GUIStyle _style) { this.func = f; this.screenRect = _screenRect; this.options = _options; this.style = _style; }
public static Delegate UnityEngine_GUI_WindowFunction(LuaFunction func) { if (func == null) { UnityEngine.GUI.WindowFunction fn = delegate { }; return(fn); } UnityEngine.GUI.WindowFunction d = (new UnityEngine_GUI_WindowFunction_Event(func)).Call; return(d); }
public void doBuilderWindow(int id, UnityEngine.GUI.WindowFunction func, string title) { GUI.Window(id, new Rect(Screen.width - 256, 0, 256, Screen.height), func, title); }
// Make a popup window that layouts its contents automatically. public static Rect Window(int id, Rect screenRect, GUI.WindowFunction func, GUIContent content, GUIStyle style, params GUILayoutOption[] options) { return(DoWindow(id, screenRect, func, content, style, options)); }
public static Rect Window(int id, Rect screenRect, GUI.WindowFunction func, Texture image, GUIStyle style, params GUILayoutOption[] options) { return(DoWindow(id, screenRect, func, GUIContent.Temp(image), style, options)); }
public static Rect Window(int id, Rect screenRect, GUI.WindowFunction func, string text, params GUILayoutOption[] options) { return(DoWindow(id, screenRect, func, GUIContent.Temp(text), GUI.skin.window, options)); }
private static Rect DoWindow(int id, Rect screenRect, GUI.WindowFunction func, GUIContent content, GUIStyle style, GUILayoutOption[] options) { GUIUtility.CheckOnGUI(); GUILayout.LayoutedWindow @object = new GUILayout.LayoutedWindow(func, screenRect, content, options, style); return(GUI.Window(id, screenRect, new GUI.WindowFunction(@object.DoWindow), content, style)); }
public static Rect Window(int id, Rect screenRect, GUI.WindowFunction func, GUIContent content, params GUILayoutOption[] options) { return(GUILayout.DoWindow(id, screenRect, func, content, GUI.skin.window, options)); }
private static Rect DoWindow(int id, Rect screenRect, GUI.WindowFunction func, GUIContent content, GUIStyle style, GUILayoutOption[] options) => throw new NotImplementedException();
} // Dummy constructor internal LayoutedWindow(GUI.WindowFunction f, Rect screenRect, GUIContent content, GUILayoutOption[] options, GUIStyle style) { } // 0x0000000180A36BF0-0x0000000180A36D10
public static Rect Window(int id, Rect screenRect, GUI.WindowFunction func, string text, params /* 0x00000001800D4E50-0x00000001800D4E60 */ GUILayoutOption[] options) => default; // 0x0000000180A25F70-0x0000000180A260D0 private static Rect DoWindow(int id, Rect screenRect, GUI.WindowFunction func, GUIContent content, GUIStyle style, GUILayoutOption[] options) => default; // 0x0000000180A241F0-0x0000000180A244A0
} // 0x0000000180A246D0-0x0000000180A24750 public static Rect Window(int id, Rect screenRect, GUI.WindowFunction func, string text, params /* 0x00000001800D4E50-0x00000001800D4E60 */ GUILayoutOption[] options) => default; // 0x0000000180A25F70-0x0000000180A260D0