GetCategoryInfo(ushort)
Gets the Profiler category information for a given category ID.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor.Profiling
- Assembly: UnityEditor.CoreModule
public ProfilerCategoryInfo GetCategoryInfo(ushort id)
Parameters
The ID for the Category.
Returns
Type | Description |
|---|---|
| ProfilerCategoryInfo | Returns a ProfilerCategoryInfo struct based on the supplied ID. If the ID doesn't exist, an exception is thrown. |