Version: 2021.2

ProfilerCategoryConstructor

切换到手册
public ProfilerCategory (string categoryName);

参数

categoryName Profiler category name.

描述

Use to construct ProfilerCategory by category name.

This constructor performs a lookup across built-in Profiler categories and stores the category identifier. If the category does not exist, then it uses ProfilerCategory.Scripts instead.