기술 자료

Unity Engine

Unity Engine

ProfilerCategory

Use to construct ProfilerCategory by category name.
읽는 시간 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.