Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Resize(int, NativeArrayOptions)

Sets the length of this list, increasing the capacity if necessary.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public void Resize(int length, NativeArrayOptions options)

Parameters

length

The new length of this list.

Whether to clear any newly allocated bytes to all zeroes.