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 14 days ago

Definition

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

Parameters

numBits

The new length in bits.

Whether newly allocated data should be zeroed out.