standardVerticalSpacing
Get the height used by default for vertical spacing between controls.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor
public static float standardVerticalSpacing { get; }
Remarks
When creating GUI without GUILayout, such as is for instance required by PropertyDrawers, and you need to place several controls under each other, you can use standardVerticalSpacing to ensure there's the proper standard spacing between the controls. This is advisable over hardcoding specific pixel values. Additional Resources: EditorGUILayout.GetControlRect.