Click or drag to resize
EditorGUIUtilsArrayFieldT Method
Draws an inspector for modifying the specified array.

Namespace: Slash.Unity.Editor.Common.Inspectors.Utils
Assembly: Slash.Unity.Editor.Common (in Slash.Unity.Editor.Common.dll) Version: 0.0.0.0
Syntax
public static bool ArrayField<T>(
	bool foldout,
	GUIContent foldoutText,
	ref T[] array
)
where 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: Boolean
Whether to show all array entries now, or not.
See Also