EditorGUILayout.PrefixLabelstatic function PrefixLabel (label : string, followingStyle : GUIStyle = "Button") : voidstatic function PrefixLabel (label : string, followingStyle : GUIStyle, labelStyle : GUIStyle) : voidstatic function PrefixLabel (label : GUIContent, followingStyle : GUIStyle = "Button") : voidstatic function PrefixLabel (label : GUIContent, followingStyle : GUIStyle, labelStyle : GUIStyle) : voidParameters
DescriptionMake a label in front of some control.
EditorGUILayout.BeginHorizontal();
EditorGUILayout.PrefixLabel("Ammo"); target = EditorGUILayout.IntField(ammo); EditorGUILayout.EndHorizontal(); |
