ドキュメント

Unity Engine

Unity Engine

Resize(int, NativeArrayOptions)

Sets the length, expanding the capacity if necessary.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Parameters

length

The new length.

Whether newly allocated bytes should be zeroed out.