Method AdditionalPropertiesFoldoutGroup
AdditionalPropertiesFoldoutGroup<TEnum, TAPEnum>(GUIContent, TEnum, ExpandedStateBase<TEnum>, TAPEnum, AdditionalPropertiesStateBase<TAPEnum>, IDrawer, IDrawer, FoldoutOption, Action<GenericMenu, TData>, string)
Helper to draw a foldout with additional properties.
Declaration
public static CoreEditorDrawer<TData>.IDrawer AdditionalPropertiesFoldoutGroup<TEnum, TAPEnum>(GUIContent foldoutTitle, TEnum foldoutMask, ExpandedStateBase<TEnum> foldoutState, TAPEnum additionalPropertiesMask, AdditionalPropertiesStateBase<TAPEnum> additionalPropertiesState, CoreEditorDrawer<TData>.IDrawer normalContent, CoreEditorDrawer<TData>.IDrawer additionalContent, FoldoutOption options = FoldoutOption.Indent, Action<GenericMenu, TData> customMenuContextAction = null, string otherDocumentation = null) where TEnum : struct, IConvertible where TAPEnum : struct, IConvertible
Parameters
Type | Name | Description |
---|---|---|
GUIContent | foldoutTitle | Title wanted for this foldout header |
TEnum | foldoutMask | Bit mask (enum) used to define the boolean saving the state in ExpandedStateBase |
ExpandedStateBase<TEnum> | foldoutState | The ExpandedStateBase describing the component |
TAPEnum | additionalPropertiesMask | Bit mask (enum) used to define the boolean saving the state in AdditionalPropertiesStateBase |
AdditionalPropertiesStateBase<TAPEnum> | additionalPropertiesState | The AdditionalPropertiesStateBase describing the component |
CoreEditorDrawer<TData>.IDrawer | normalContent | The content of the foldout header always visible if expended. |
CoreEditorDrawer<TData>.IDrawer | additionalContent | The content of the foldout header only visible if additional properties are shown and if foldout is expanded. |
FoldoutOption | options | Drawing options |
Action<GenericMenu, TData> | customMenuContextAction | Adds Addtional items to the menu activated from the burger menu. |
string | otherDocumentation | Custom documentation used for header. |
Returns
Type | Description |
---|---|
CoreEditorDrawer<TData>.IDrawer | A IDrawer object |
Type Parameters
Name | Description |
---|---|
TEnum | Type of the foldout mask used. |
TAPEnum | Type of the additional properties mask used. |
AdditionalPropertiesFoldoutGroup<TEnum, TAPEnum>(GUIContent, TEnum, ExpandedStateBase<TEnum>, TAPEnum, AdditionalPropertiesStateBase<TAPEnum>, ActionDrawer, IDrawer, FoldoutOption, Action<GenericMenu, TData>, string)
Helper to draw a foldout with additional properties.
Declaration
public static CoreEditorDrawer<TData>.IDrawer AdditionalPropertiesFoldoutGroup<TEnum, TAPEnum>(GUIContent foldoutTitle, TEnum foldoutMask, ExpandedStateBase<TEnum> foldoutState, TAPEnum additionalPropertiesMask, AdditionalPropertiesStateBase<TAPEnum> additionalPropertiesState, CoreEditorDrawer<TData>.ActionDrawer normalContent, CoreEditorDrawer<TData>.IDrawer additionalContent, FoldoutOption options = FoldoutOption.Indent, Action<GenericMenu, TData> customMenuContextAction = null, string otherDocumentation = null) where TEnum : struct, IConvertible where TAPEnum : struct, IConvertible
Parameters
Type | Name | Description |
---|---|---|
GUIContent | foldoutTitle | Title wanted for this foldout header |
TEnum | foldoutMask | Bit mask (enum) used to define the boolean saving the state in ExpandedStateBase |
ExpandedStateBase<TEnum> | foldoutState | The ExpandedStateBase describing the component |
TAPEnum | additionalPropertiesMask | Bit mask (enum) used to define the boolean saving the state in AdditionalPropertiesStateBase |
AdditionalPropertiesStateBase<TAPEnum> | additionalPropertiesState | The AdditionalPropertiesStateBase describing the component |
CoreEditorDrawer<TData>.ActionDrawer | normalContent | The content of the foldout header always visible if expended. |
CoreEditorDrawer<TData>.IDrawer | additionalContent | The content of the foldout header only visible if additional properties are shown and if foldout is expanded. |
FoldoutOption | options | Drawing options |
Action<GenericMenu, TData> | customMenuContextAction | Adds Addtional items to the menu activated from the burger menu. |
string | otherDocumentation | Custom documentation used for header. |
Returns
Type | Description |
---|---|
CoreEditorDrawer<TData>.IDrawer | A IDrawer object |
Type Parameters
Name | Description |
---|---|
TEnum | Type of the foldout mask used. |
TAPEnum | Type of the additional properties mask used. |
AdditionalPropertiesFoldoutGroup<TEnum, TAPEnum>(GUIContent, TEnum, ExpandedStateBase<TEnum>, TAPEnum, AdditionalPropertiesStateBase<TAPEnum>, IDrawer, ActionDrawer, FoldoutOption, Action<GenericMenu, TData>, string)
Helper to draw a foldout with additional properties.
Declaration
public static CoreEditorDrawer<TData>.IDrawer AdditionalPropertiesFoldoutGroup<TEnum, TAPEnum>(GUIContent foldoutTitle, TEnum foldoutMask, ExpandedStateBase<TEnum> foldoutState, TAPEnum additionalPropertiesMask, AdditionalPropertiesStateBase<TAPEnum> additionalPropertiesState, CoreEditorDrawer<TData>.IDrawer normalContent, CoreEditorDrawer<TData>.ActionDrawer additionalContent, FoldoutOption options = FoldoutOption.Indent, Action<GenericMenu, TData> customMenuContextAction = null, string otherDocumentation = null) where TEnum : struct, IConvertible where TAPEnum : struct, IConvertible
Parameters
Type | Name | Description |
---|---|---|
GUIContent | foldoutTitle | Title wanted for this foldout header |
TEnum | foldoutMask | Bit mask (enum) used to define the boolean saving the state in ExpandedStateBase |
ExpandedStateBase<TEnum> | foldoutState | The ExpandedStateBase describing the component |
TAPEnum | additionalPropertiesMask | Bit mask (enum) used to define the boolean saving the state in AdditionalPropertiesStateBase |
AdditionalPropertiesStateBase<TAPEnum> | additionalPropertiesState | The AdditionalPropertiesStateBase describing the component |
CoreEditorDrawer<TData>.IDrawer | normalContent | The content of the foldout header always visible if expended. |
CoreEditorDrawer<TData>.ActionDrawer | additionalContent | The content of the foldout header only visible if additional properties are shown and if foldout is expanded. |
FoldoutOption | options | Drawing options |
Action<GenericMenu, TData> | customMenuContextAction | Adds Addtional items to the menu activated from the burger menu. |
string | otherDocumentation | Custom documentation used for header. |
Returns
Type | Description |
---|---|
CoreEditorDrawer<TData>.IDrawer | A IDrawer object |
Type Parameters
Name | Description |
---|---|
TEnum | Type of the foldout mask used. |
TAPEnum | Type of the additional properties mask used. |
AdditionalPropertiesFoldoutGroup<TEnum, TAPEnum>(GUIContent, TEnum, ExpandedStateBase<TEnum>, TAPEnum, AdditionalPropertiesStateBase<TAPEnum>, ActionDrawer, ActionDrawer, FoldoutOption, Action<GenericMenu, TData>, string)
Helper to draw a foldout with additional properties.
Declaration
public static CoreEditorDrawer<TData>.IDrawer AdditionalPropertiesFoldoutGroup<TEnum, TAPEnum>(GUIContent foldoutTitle, TEnum foldoutMask, ExpandedStateBase<TEnum> foldoutState, TAPEnum additionalPropertiesMask, AdditionalPropertiesStateBase<TAPEnum> additionalPropertiesState, CoreEditorDrawer<TData>.ActionDrawer normalContent, CoreEditorDrawer<TData>.ActionDrawer additionalContent, FoldoutOption options = FoldoutOption.Indent, Action<GenericMenu, TData> customMenuContextAction = null, string otherDocumentation = null) where TEnum : struct, IConvertible where TAPEnum : struct, IConvertible
Parameters
Type | Name | Description |
---|---|---|
GUIContent | foldoutTitle | Title wanted for this foldout header |
TEnum | foldoutMask | Bit mask (enum) used to define the boolean saving the state in ExpandedStateBase |
ExpandedStateBase<TEnum> | foldoutState | The ExpandedStateBase describing the component |
TAPEnum | additionalPropertiesMask | Bit mask (enum) used to define the boolean saving the state in AdditionalPropertiesStateBase |
AdditionalPropertiesStateBase<TAPEnum> | additionalPropertiesState | The AdditionalPropertiesStateBase describing the component |
CoreEditorDrawer<TData>.ActionDrawer | normalContent | The content of the foldout header always visible if expended. |
CoreEditorDrawer<TData>.ActionDrawer | additionalContent | The content of the foldout header only visible if additional properties are shown and if foldout is expanded. |
FoldoutOption | options | Drawing options |
Action<GenericMenu, TData> | customMenuContextAction | Adds Addtional items to the menu activated from the burger menu. |
string | otherDocumentation | Custom documentation used for header. |
Returns
Type | Description |
---|---|
CoreEditorDrawer<TData>.IDrawer | A IDrawer object |
Type Parameters
Name | Description |
---|---|
TEnum | Type of the foldout mask used. |
TAPEnum | Type of the additional properties mask used. |