Documentation

Unity Engine

Download Unity

Unity Engine

Resize(int, NativeArrayOptions)

Sets the length, expanding the capacity if necessary.
Read time 1 minuteLast updated 2 months ago

Definition

public void Resize(int length, NativeArrayOptions options = NativeArrayOptions.UninitializedMemory)

Parameters

length

The new length.

Whether newly allocated bytes should be zeroed out.