文档

Unity Engine

Download Unity

Unity Engine

ResizeUninitialized(int)

Sets the length of this buffer, increasing the capacity if necessary.
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public void ResizeUninitialized(int length)

Parameters

length

The new length of the buffer.

Remarks

If
length
is less than the current length of the buffer, the length of the buffer is reduced while the capacity remains unchanged.