ProfilerCategoryConstructor

Switch to Manual
public ProfilerCategory (string categoryName);

Parameters

categoryNameProfiler category name.

Description

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.