文档

Unity Engine

Unity Engine

Resize(int, NativeArrayOptions)

Sets the length, expanding the capacity if necessary.
阅读时间1 分钟最后更新于 1 个月前

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.