public static IRectGUI DrawScrollView(this IRectGUI self, Action act, Rect position, ref Vector2 scrollPosition, Rect viewRect, bool alwaysShowHorizontal, bool alwaysShowVertical, GUIStyle horizontalScrollbar, GUIStyle verticalScrollbar) { scrollPosition = GUI.BeginScrollView(position, scrollPosition, viewRect, alwaysShowHorizontal, alwaysShowVertical, horizontalScrollbar, verticalScrollbar); if (act != null) { act(); } GUI.EndScrollView(); return(self); }
public static IRectGUI DrawGroup(this IRectGUI self, Action act, Rect position, GUIStyle style) { GUI.BeginGroup(position, style); if (act != null) { act(); } GUI.EndGroup(); return(self); }
public static IRectGUI DrawScrollView(this IRectGUI self, Action act, Rect position, ref Vector2 scrollPosition, Rect viewRect) { scrollPosition = GUI.BeginScrollView(position, scrollPosition, viewRect); if (act != null) { act(); } GUI.EndScrollView(); return(self); }
public static IRectGUI RepeatButton(this IRectGUI self, Action listener, Rect position, GUIContent content, GUIStyle style) { bool bo = GUI.RepeatButton(position, content, style); if (bo && listener != null) { listener(); } return(self); }
public static IRectGUI DrawClip(this IRectGUI self, Action act, Rect position, Vector2 scrollOffset, Vector2 renderOffset, bool resetOffset) { GUI.BeginClip(position, scrollOffset, renderOffset, resetOffset); if (act != null) { act(); } GUI.EndClip(); return(self); }
public static IRectGUI DrawClip(this IRectGUI self, Action act, Rect position) { GUI.BeginClip(position); if (act != null) { act(); } GUI.EndClip(); return(self); }
public static IRectGUI DrawGroup(this IRectGUI self, Action act, Rect position, GUIContent content) { GUI.BeginGroup(position, content); if (act != null) { act(); } GUI.EndGroup(); return(self); }
public static IRectGUI Button(this IRectGUI self, Action listener, Rect position, Texture image, GUIStyle style) { bool bo = GUI.Button(position, image, style); if (bo && listener != null) { listener(); } return(self); }
public static IRectGUI RepeatButton(this IRectGUI self, Action listener, Rect position, string text) { bool bo = GUI.RepeatButton(position, text); if (bo && listener != null) { listener(); } return(self); }
public static IRectGUI Button(this IRectGUI self, Action listener, Rect position, GUIContent content) { bool bo = GUI.Button(position, content); if (bo && listener != null) { listener(); } return(self); }
public static IRectGUI BeginScrollView(this IRectGUI self, Rect position, ref Vector2 scrollPosition, Rect viewRect) { scrollPosition = GUI.BeginScrollView(position, scrollPosition, viewRect); return(self); }
public static IRectGUI BeginClip(this IRectGUI self, Rect position) { GUI.BeginClip(position); return(self); }
public static IRectGUI BeginClip(this IRectGUI self, Rect position, Vector2 scrollOffset, Vector2 renderOffset, bool resetOffset) { GUI.BeginClip(position, scrollOffset, renderOffset, resetOffset); return(self); }
public static IRectGUI BeginGroup(this IRectGUI self, Rect position, Texture image) { GUI.BeginGroup(position, image); return(self); }
public static IRectGUI BeginGroup(this IRectGUI self, Rect position, GUIContent content) { GUI.BeginGroup(position, content); return(self); }
public static IRectGUI EndClip(this IRectGUI self) { GUI.EndClip(); return(self); }
public static IRectGUI VerticalSlider(this IRectGUI self, Rect position, ref float value, float topValue, float bottomValue, GUIStyle slider, GUIStyle thumb) { value = GUI.VerticalSlider(position, value, topValue, bottomValue, slider, thumb); return(self); }
public static IRectGUI Window(this IRectGUI self, int id, ref Rect clientRect, GUI.WindowFunction func, string text, GUIStyle style) { clientRect = GUI.Window(id, clientRect, func, text, style); return(self); }
public static IRectGUI Window(this IRectGUI self, int id, ref Rect clientRect, GUI.WindowFunction func, GUIContent title, GUIStyle style) { clientRect = GUI.Window(id, clientRect, func, title, style); return(self); }
public static IRectGUI Toolbar(this IRectGUI self, Rect position, ref int selected, Texture[] images, GUIStyle style) { selected = GUI.Toolbar(position, selected, images, style); return(self); }
public static IRectGUI Window(this IRectGUI self, int id, ref Rect clientRect, GUI.WindowFunction func, GUIContent content) { clientRect = GUI.Window(id, clientRect, func, content); return(self); }
public static IRectGUI Toolbar(this IRectGUI self, Rect position, ref int selected, GUIContent[] contents, GUIStyle style, GUI.ToolbarButtonSize buttonSize) { selected = GUI.Toolbar(position, selected, contents, style, buttonSize); return(self); }
public static IRectGUI ModalWindow(this IRectGUI self, int id, ref Rect clientRect, GUI.WindowFunction func, string text) { clientRect = GUI.ModalWindow(id, clientRect, func, text); return(self); }
public static IRectGUI Slider(this IRectGUI self, Rect position, ref float value, float size, float start, float end, GUIStyle slider, GUIStyle thumb, bool horiz, int id) { value = GUI.Slider(position, value, size, start, end, slider, thumb, horiz, id); return(self); }
public static IRectGUI BeginScrollView(this IRectGUI self, Rect position, ref Vector2 scrollPosition, Rect viewRect, bool alwaysShowHorizontal, bool alwaysShowVertical, GUIStyle horizontalScrollbar, GUIStyle verticalScrollbar) { scrollPosition = GUI.BeginScrollView(position, scrollPosition, viewRect, alwaysShowHorizontal, alwaysShowVertical, horizontalScrollbar, verticalScrollbar); return(self); }
public static IRectGUI BeginGroup(this IRectGUI self, Rect position, GUIStyle style) { GUI.BeginGroup(position, style); return(self); }
public static IRectGUI EndScrollView(this IRectGUI self) { GUI.EndScrollView(); return(self); }
public static IRectGUI BeginGroup(this IRectGUI self, Rect position, string text) { GUI.BeginGroup(position, text); return(self); }
public static IRectGUI Window(this IRectGUI self, int id, ref Rect clientRect, GUI.WindowFunction func, Texture image) { clientRect = GUI.Window(id, clientRect, func, image); return(self); }
public static IRectGUI VerticalScrollbar(this IRectGUI self, Rect position, ref float value, float size, float topValue, float bottomValue) { value = GUI.VerticalScrollbar(position, value, size, topValue, bottomValue); return(self); }