文档

Unity Engine

Unity Engine

GetCategoryInfo(ushort)

Gets the Profiler category information for a given category ID.
阅读时间1 分钟最后更新于 1 个月前

Definition

public ProfilerCategoryInfo GetCategoryInfo(ushort id)

Parameters

The ID for the Category.

Returns

Type

Description

ProfilerCategoryInfoReturns a ProfilerCategoryInfo struct based on the supplied ID. If the ID doesn't exist, an exception is thrown.