Version 3.3.0.2

EditorGUI_Internals class

Namespace: Sirenix.Reflection.Editor
Assembly: Sirenix.Reflection.Editor
public static class EditorGUI_Internals
Inheritance
  • System.Object
  • EditorGUI_Internals

Properties

kDoubleFieldFormatString
public static string kDoubleFieldFormatString { get; }
kFloatFieldFormatString
public static string kFloatFieldFormatString { get; }
kIntFieldFormatString
public static string kIntFieldFormatString { get; }
RecycledEditor
public static TextEditor RecycledEditor { get; }
s_AllowedCharactersForFloat
public static string s_AllowedCharactersForFloat { get; }
s_AllowedCharactersForInt
public static string s_AllowedCharactersForInt { get; }

Methods

DoTextField(Int32, Rect, String, GUIStyle, String, out Boolean, Boolean, Boolean, Boolean)
public static string DoTextField(int id, Rect position, string text, GUIStyle style, string allowedLetters, out bool changed, bool reset, bool multiline, bool passwordField)
Parameters
System.Int32 id

UnityEngine.Rect position

System.String text

UnityEngine.GUIStyle style

System.String allowedLetters

System.Boolean changed

System.Boolean reset

System.Boolean multiline

System.Boolean passwordField

Returns
System.String

DragNumberValue(Rect, Int32, Boolean, ref Double, ref Int64, Double)
public static void DragNumberValue(Rect dragHotZone, int id, bool isDouble, ref double doubleVal, ref long longVal, double dragSensitivity)
Parameters
UnityEngine.Rect dragHotZone

System.Int32 id

System.Boolean isDouble

System.Double doubleVal

System.Int64 longVal

System.Double dragSensitivity

GetFloatDragSensitivity()
public static double GetFloatDragSensitivity()
Returns
System.Double

GetIntDragSensitivity()
public static double GetIntDragSensitivity()
Returns
System.Double

RecycledEditor_IsEditingControl(Int32)
public static bool RecycledEditor_IsEditingControl(int id)
Parameters
System.Int32 id

Returns
System.Boolean