Reserve(int)
Reserves memory for nodes to use. Use this to avoid memory allocation hits when you add batches of nodes.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: Unity.Hierarchy
- Assembly: UnityEngine.HierarchyCoreModule
public bool Reserve(int count)
Parameters
The number of nodes to reserve memory for.
Returns
Type | Description |
|---|---|
| bool | |