文档

Unity Engine

Unity Engine

SetCapacity(int)

Sets the size in bytes of the internal buffer.
阅读时间1 分钟最后更新于 1 个月前

Definition

public void SetCapacity(int capacity)

Parameters

capacity

A new capacity in bytes.

Remarks

Does nothing if the new capacity is less than or equal to the current capacity.