Editar

Share via


BaseMixedRealityProfileInspector.RenderFoldout Method

Definition

Render Bold/HelpBox style Foldout

protected static void RenderFoldout (ref bool currentState, string title, Action renderContent, string preferenceKey = default);
static member RenderFoldout : bool * string * Action * string -> unit
Protected Shared Sub RenderFoldout (ByRef currentState As Boolean, title As String, renderContent As Action, Optional preferenceKey As String = Nothing)

Parameters

currentState
Boolean

reference bool for current visibility state of foldout

title
String

Title in foldout

renderContent
Action

code to execute to render inside of foldout

preferenceKey
String

optional argument, current show/hide state will be tracked associated with provided preference key

Applies to