Version: 2022.3

Profiler.GetCategoriesCount

切换到手册
public static uint GetCategoriesCount ();

返回

uint Returns number of ProfilerCategory registered in Profiler.

描述

Returns number of ProfilerCategory registered in Profiler.

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.