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