GetCategoriesCount()
Returns number of ProfilerCategory registered in Profiler.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.Profiling
- Assembly: UnityEngine.CoreModule
public static uint GetCategoriesCount()
Returns
Type | Description |
|---|---|
| uint | Returns number of ProfilerCategory registered in Profiler. |
Remarks
Returns a total number of ProfilerCategory registered in the Profiler. Can be used together with Profiler.GetAllCategories to pre-allocate a container to the required size.