ドキュメント

Unity Engine

Unity Engine

Reserve(int)

Reserves memory for nodes to use. Use this to avoid memory allocation hits when you add batches of nodes.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Hierarchy
  • Assembly: UnityEngine.HierarchyCoreModule
public bool Reserve(int count)

Parameters

count

The number of nodes to reserve memory for.

Returns

Type

Description

bool
true
if the command was appended to the list,
false
otherwise.