Documentation

Unity Engine

Download Unity

Unity Engine

RemoveAt(int)

Removes the pointer at an index, shifting everything above it down by one. Decrements the length by 1.
Read time 1 minuteLast updated 2 months ago

Definition

public void RemoveAt(int index)

Parameters

index

The index of the pointer to remove.

Remarks

If you don't care about preserving the order of the pointers, UnsafePtrList<T>.RemoveAtSwapBack is a more efficient way to remove pointers.