Space
示例程序 | |
---|---|
说明 | 在两个区域之间添加空白 |
用法
public static void Space();
示例
public override void OnInspectorGUI () {
EditorGUILayout.LabelField ("Label", "This is a label.");
EditorGUILayout.LabelField ("Label", "There is a space following.");
EditorGUILayout.Space ();
EditorGUILayout.LabelField ("Label", "There is a space above.");
EditorGUILayout.LabelField ("Label", "This is a label.");
}