ドキュメント

Unity Engine

Unity Engine

GetAreaEnabled(ProfilerArea)

Returns whether or not a given ProfilerArea is currently enabled.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public static bool GetAreaEnabled(ProfilerArea area)

Parameters

Which area you want to check the state of.

Returns

Type

Description

boolReturns whether or not a given ProfilerArea is currently enabled.

Remarks

Enabled areas emit stats and samples. Each enabled area adds to the profiler overhead. To disable an area, either close the corresponding chart in the ProfilerWindow or call Profiler.SetAreaEnabled.