UICollection.RemoveItem(RectTransform) Method

Definition

Removes a UI element from the collection. This will cause the collection layout to update immediately. NOTE: This method does not call Destroy removed items.

public:
 void RemoveItem(UnityEngine::RectTransform ^ item);
public void RemoveItem (UnityEngine.RectTransform item);
member this.RemoveItem : UnityEngine.RectTransform -> unit
Public Sub RemoveItem (item As RectTransform)

Parameters

item
UnityEngine.RectTransform

The UI element to remove from the collection.

Applies to