ドキュメント

Unity Engine

Unity Engine

ProfilerCategory

Use to construct ProfilerCategory by category name.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Constructor
  • Namespace: Unity.Profiling
  • Assembly: UnityEngine.CoreModule

ProfilerCategory(string)

Use to construct ProfilerCategory by category name.
public ProfilerCategory(string categoryName)

Parameters

categoryName

Profiler category name.

Remarks

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.

ProfilerCategory(string, ProfilerCategoryColor)

Use to construct ProfilerCategory by category name.
public ProfilerCategory(string categoryName, ProfilerCategoryColor color)

Parameters

categoryName

Profiler category name.

Remarks

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.