Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

ProfilerCategory Constructor

Declaration

public ProfilerCategory(string categoryName);

Parameters

categoryName Profiler 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.