Click or drag to resize

ItemList Methods

The ItemList type exposes the following members.

Methods
  NameDescription
Public methodClear
Destroys all children.
Public methodGetFirstItem
Returns the first UI element.
Public methodGetFirstItemT
Returns the first UI element.
Public methodGetItem(Int32)
Returns the UI element at a particular index.
Public methodGetItemT(Int32)
Returns the UI element at a particular index, or if index is out-of-bounds.
Public methodGetItems
Returns the list of UI elements.
Public methodGetItemsT
Returns the list of UI elements.
Public methodGetLastItem
Returns the last UI element.
Public methodGetLastItemT
Returns the last UI element.
Public methodIndexOf
Returns the index of a particular UI element, or -1 if not found.
Public methodIsValid
Returns whether a particular index is out-of-range for elements created.
Public methodRefresh
Destroys children and creates UI elements based on the Data property.
Top
Extension Methods
  NameDescription
Public Extension MethodDestroy
Destroy the object.
(Defined by UnityObjectExtensions.)
Public Extension MethodDisable
Set the enabled property to .
(Defined by BehaviourExtensions.)
Public Extension MethodEnable
Set the enabled property to .
(Defined by BehaviourExtensions.)
Public Extension MethodGetBounds

Returns the bounds of the Component.

(Defined by ComponentExtensions.)
Public Extension MethodIsPrefab
Returns whether the Component is a part of a prefab.
(Defined by ComponentExtensions.)
Top
See Also