Documentation

Unity Engine

Unity Engine

SetCapacity(int)

Sets the size in bytes of the internal buffer.
Read time 1 minuteLast updated a month ago

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.