Summary
Removes the `item` by swapping the last item in this list into its place.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- IndexedList
<TItem, TIndexer>
Syntax
public bool Remove(TItem item)
Remarks
This method has
O(1)
complexity.
This method does not maintain the order of items, but is more efficient than Animancer.IndexedList`2.Remove(`0)
because
it avoids the need to move every item after the target down one place.
Parameters
Name | Type | Description |
---|---|---|
item | TItem |
Return Value
Type | Description |
---|---|
bool |