public static GetControlRect ( ) : |
||
return |
public static Rect GetControlRect(params GUILayoutOption[] options)
{
return GetControlRect(true, 16f, EditorStyles.layerMaskField, options);
}
EditorGUILayout::GetControlRect ( bool hasLabel ) : |
|
EditorGUILayout::GetControlRect ( bool hasLabel, float height ) : |
|
EditorGUILayout::GetControlRect ( bool hasLabel, float height, |
internal static void Ruler(int w = 2, int padding = 10) { var r = EGL.GetControlRect(Height(padding + w)); r.height = w; r.x -= 2; r.width += 6; r.y += padding / 2; EditorGUI.DrawRect(r, lightGray); }