UICollection.RemoveItem(RectTransform) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.