C# Class UnityEditor.EditorGUIExt

Show file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
DragSelection ( Rect positions, bool &selections, GUIStyle style ) : bool
MinMaxScroller ( Rect position, int id, float &value, float &size, float visualStart, float visualEnd, float startLimit, float endLimit, GUIStyle slider, GUIStyle thumb, GUIStyle leftButton, GUIStyle rightButton, bool horiz ) : void
MinMaxSlider ( Rect position, float &value, float &size, float visualStart, float visualEnd, float startLimit, float endLimit, GUIStyle slider, GUIStyle thumb, bool horiz ) : void
MultiSelection ( Rect rect, Rect positions, GUIContent content, Rect hitPositions, bool &selections, bool readOnly, int &clickedIndex, Vector2 &offset, float &startSelect, float &endSelect, GUIStyle style ) : HighLevelEvent

Private Methods

Method Description
Any ( bool selections ) : bool
DoMinMaxSlider ( Rect position, int id, float &value, float &size, float visualStart, float visualEnd, float startLimit, float endLimit, GUIStyle slider, GUIStyle thumb, bool horiz ) : void
DoRepeatButton ( Rect position, GUIContent content, GUIStyle style, FocusType focusType ) : bool
FromToRect ( Vector2 start, Vector2 end ) : Rect
GetIndexUnderMouse ( Rect hitPositions, bool readOnly ) : int
ScrollerRepeatButton ( int scrollerID, Rect rect, GUIStyle style ) : bool

Method Details

DragSelection() public static method

public static DragSelection ( Rect positions, bool &selections, GUIStyle style ) : bool
positions UnityEngine.Rect
selections bool
style UnityEngine.GUIStyle
return bool

MinMaxScroller() public static method

public static MinMaxScroller ( Rect position, int id, float &value, float &size, float visualStart, float visualEnd, float startLimit, float endLimit, GUIStyle slider, GUIStyle thumb, GUIStyle leftButton, GUIStyle rightButton, bool horiz ) : void
position UnityEngine.Rect
id int
value float
size float
visualStart float
visualEnd float
startLimit float
endLimit float
slider UnityEngine.GUIStyle
thumb UnityEngine.GUIStyle
leftButton UnityEngine.GUIStyle
rightButton UnityEngine.GUIStyle
horiz bool
return void

MinMaxSlider() public static method

public static MinMaxSlider ( Rect position, float &value, float &size, float visualStart, float visualEnd, float startLimit, float endLimit, GUIStyle slider, GUIStyle thumb, bool horiz ) : void
position UnityEngine.Rect
value float
size float
visualStart float
visualEnd float
startLimit float
endLimit float
slider UnityEngine.GUIStyle
thumb UnityEngine.GUIStyle
horiz bool
return void

MultiSelection() public static method

public static MultiSelection ( Rect rect, Rect positions, GUIContent content, Rect hitPositions, bool &selections, bool readOnly, int &clickedIndex, Vector2 &offset, float &startSelect, float &endSelect, GUIStyle style ) : HighLevelEvent
rect UnityEngine.Rect
positions UnityEngine.Rect
content UnityEngine.GUIContent
hitPositions UnityEngine.Rect
selections bool
readOnly bool
clickedIndex int
offset Vector2
startSelect float
endSelect float
style UnityEngine.GUIStyle
return HighLevelEvent