기술 자료

Unity Engine

Unity Engine

Resize(int, NativeArrayOptions)

Sets the length, expanding the capacity if necessary.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

Parameters

length

The new length.

Whether newly allocated bytes should be zeroed out.