Class EditorGUILayoutExtensions
Namespace: RealityCollective.ServiceFramework.Editor.Utilities
Extensions for EditorGUILayout usage.
public static class EditorGUILayoutExtensions
Inheritance
object ← EditorGUILayoutExtensions
Methods
FoldoutWithBoldLabel(bool, GUIContent, bool)
Draws a foldout but with bold label text.
public static bool FoldoutWithBoldLabel(bool foldout, GUIContent content, bool toggleOnLabelClick = true)
Parameters
foldout bool
Foldout state.
content GUIContent
Foldout label content.
toggleOnLabelClick bool
Should the foldout toggle on label click?
Returns
bool
Returns true, if foldout unfolded.