Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Resize(int, NativeArrayOptions)

Sets the length, expanding the capacity if necessary.
Read time 1 minuteLast updated 13 days ago

Definition

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

Parameters

length

The new length.

Whether newly allocated bytes should be zeroed out.