Method AdvancedFoldoutGroup
AdvancedFoldoutGroup<TEnum, TState>(GUIContent, TEnum, ExpandedState<TEnum, TState>, Enabler, SwitchEnabler, IDrawer, IDrawer, FoldoutOption)
Helper to draw a foldout with an advanced switch on it.
선언
public static CoreEditorDrawer<TData>.IDrawer AdvancedFoldoutGroup<TEnum, TState>(GUIContent foldoutTitle, TEnum foldoutMask, ExpandedState<TEnum, TState> foldoutState, CoreEditorDrawer<TData>.Enabler isAdvanced, CoreEditorDrawer<TData>.SwitchEnabler switchAdvanced, CoreEditorDrawer<TData>.IDrawer normalContent, CoreEditorDrawer<TData>.IDrawer advancedContent, FoldoutOption options = FoldoutOption.Indent) where TEnum : struct, IConvertible
파라미터
타입 | 이름 | 설명 |
---|---|---|
GUIContent | foldoutTitle | |
TEnum | foldoutMask | |
ExpandedState<TEnum, TState> | foldoutState | |
CoreEditorDrawer<TData>.Enabler | isAdvanced | Delegate allowing to check if advanced mode is active. |
CoreEditorDrawer<TData>.SwitchEnabler | switchAdvanced | Delegate to know what to do when advance is switched. |
CoreEditorDrawer<TData>.IDrawer | normalContent | The content of the foldout header always visible if expended. |
CoreEditorDrawer<TData>.IDrawer | advancedContent | The content of the foldout header only visible if advanced mode is active and if foldout is expended. |
FoldoutOption | options |
반환
타입 | 설명 |
---|---|
CoreEditorDrawer<TData>.IDrawer |
타입 파라미터
이름 | 설명 |
---|---|
TEnum | |
TState |
AdvancedFoldoutGroup<TEnum, TState>(GUIContent, TEnum, ExpandedState<TEnum, TState>, Enabler, SwitchEnabler, ActionDrawer, IDrawer, FoldoutOption)
Helper to draw a foldout with an advanced switch on it.
선언
public static CoreEditorDrawer<TData>.IDrawer AdvancedFoldoutGroup<TEnum, TState>(GUIContent foldoutTitle, TEnum foldoutMask, ExpandedState<TEnum, TState> foldoutState, CoreEditorDrawer<TData>.Enabler isAdvanced, CoreEditorDrawer<TData>.SwitchEnabler switchAdvanced, CoreEditorDrawer<TData>.ActionDrawer normalContent, CoreEditorDrawer<TData>.IDrawer advancedContent, FoldoutOption options = FoldoutOption.Indent) where TEnum : struct, IConvertible
파라미터
타입 | 이름 | 설명 |
---|---|---|
GUIContent | foldoutTitle | |
TEnum | foldoutMask | |
ExpandedState<TEnum, TState> | foldoutState | |
CoreEditorDrawer<TData>.Enabler | isAdvanced | Delegate allowing to check if advanced mode is active. |
CoreEditorDrawer<TData>.SwitchEnabler | switchAdvanced | Delegate to know what to do when advance is switched. |
CoreEditorDrawer<TData>.ActionDrawer | normalContent | The content of the foldout header always visible if expended. |
CoreEditorDrawer<TData>.IDrawer | advancedContent | The content of the foldout header only visible if advanced mode is active and if foldout is expended. |
FoldoutOption | options |
반환
타입 | 설명 |
---|---|
CoreEditorDrawer<TData>.IDrawer |
타입 파라미터
이름 | 설명 |
---|---|
TEnum | |
TState |
AdvancedFoldoutGroup<TEnum, TState>(GUIContent, TEnum, ExpandedState<TEnum, TState>, Enabler, SwitchEnabler, IDrawer, ActionDrawer, FoldoutOption)
Helper to draw a foldout with an advanced switch on it.
선언
public static CoreEditorDrawer<TData>.IDrawer AdvancedFoldoutGroup<TEnum, TState>(GUIContent foldoutTitle, TEnum foldoutMask, ExpandedState<TEnum, TState> foldoutState, CoreEditorDrawer<TData>.Enabler isAdvanced, CoreEditorDrawer<TData>.SwitchEnabler switchAdvanced, CoreEditorDrawer<TData>.IDrawer normalContent, CoreEditorDrawer<TData>.ActionDrawer advancedContent, FoldoutOption options = FoldoutOption.Indent) where TEnum : struct, IConvertible
파라미터
타입 | 이름 | 설명 |
---|---|---|
GUIContent | foldoutTitle | |
TEnum | foldoutMask | |
ExpandedState<TEnum, TState> | foldoutState | |
CoreEditorDrawer<TData>.Enabler | isAdvanced | Delegate allowing to check if advanced mode is active. |
CoreEditorDrawer<TData>.SwitchEnabler | switchAdvanced | Delegate to know what to do when advance is switched. |
CoreEditorDrawer<TData>.IDrawer | normalContent | The content of the foldout header always visible if expended. |
CoreEditorDrawer<TData>.ActionDrawer | advancedContent | The content of the foldout header only visible if advanced mode is active and if foldout is expended. |
FoldoutOption | options |
반환
타입 | 설명 |
---|---|
CoreEditorDrawer<TData>.IDrawer |
타입 파라미터
이름 | 설명 |
---|---|
TEnum | |
TState |
AdvancedFoldoutGroup<TEnum, TState>(GUIContent, TEnum, ExpandedState<TEnum, TState>, Enabler, SwitchEnabler, ActionDrawer, ActionDrawer, FoldoutOption)
Helper to draw a foldout with an advanced switch on it.
선언
public static CoreEditorDrawer<TData>.IDrawer AdvancedFoldoutGroup<TEnum, TState>(GUIContent foldoutTitle, TEnum foldoutMask, ExpandedState<TEnum, TState> foldoutState, CoreEditorDrawer<TData>.Enabler isAdvanced, CoreEditorDrawer<TData>.SwitchEnabler switchAdvanced, CoreEditorDrawer<TData>.ActionDrawer normalContent, CoreEditorDrawer<TData>.ActionDrawer advancedContent, FoldoutOption options = FoldoutOption.Indent) where TEnum : struct, IConvertible
파라미터
타입 | 이름 | 설명 |
---|---|---|
GUIContent | foldoutTitle | |
TEnum | foldoutMask | |
ExpandedState<TEnum, TState> | foldoutState | |
CoreEditorDrawer<TData>.Enabler | isAdvanced | Delegate allowing to check if advanced mode is active. |
CoreEditorDrawer<TData>.SwitchEnabler | switchAdvanced | Delegate to know what to do when advance is switched. |
CoreEditorDrawer<TData>.ActionDrawer | normalContent | The content of the foldout header always visible if expended. |
CoreEditorDrawer<TData>.ActionDrawer | advancedContent | The content of the foldout header only visible if advanced mode is active and if foldout is expended. |
FoldoutOption | options |
반환
타입 | 설명 |
---|---|
CoreEditorDrawer<TData>.IDrawer |
타입 파라미터
이름 | 설명 |
---|---|
TEnum | |
TState |