 | EditorGUIUtilsArrayFieldT Method |
Draws an inspector for modifying the specified array.
Namespace: Slash.Unity.Editor.Common.Inspectors.UtilsAssembly: Slash.Unity.Editor.Common (in Slash.Unity.Editor.Common.dll) Version: 0.0.0.0
Syntaxpublic static bool ArrayField<T>(
bool foldout,
GUIContent foldoutText,
ref T[] array
)
where T : Object
Public Shared Function ArrayField(Of T As Object) (
foldout As Boolean,
foldoutText As GUIContent,
ByRef array As T()
) As Boolean
public:
generic<typename T>
where T : Object
static bool ArrayField(
bool foldout,
GUIContent^ foldoutText,
array<T>^% array
)
static member ArrayField :
foldout : bool *
foldoutText : GUIContent *
array : 'T[] byref -> bool when 'T : Object
Parameters
- foldout
- Type: SystemBoolean
Whether to show all array entries, or not. - foldoutText
- Type: GUIContent
Text to show next to the array editor. - array
- Type: T
Array to draw the inspector for.
Type Parameters
- T
- Type of the array to draw an inspector for.
Return Value
Type:
BooleanWhether to show all array entries now, or not.
See Also