ドキュメント

Unity Engine

Unity Engine

GetCategoriesCount()

Returns number of ProfilerCategory registered in Profiler.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public static uint GetCategoriesCount()

Returns

Type

Description

uintReturns 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.