ドキュメント

Unity Engine

Unity Engine

IsFeatureEnabled()

Check if frame timing statistics are enabled.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static bool IsFeatureEnabled()

Returns

Type

Description

boolWhether frame timing statistics are enabled.

Remarks

When enabled, the player collects CPU and GPU frame timing statistics that can be accessed using FrameTimingManager.CaptureFrameTimings.
Note: The FrameTimingManager is always active on Development Player builds. However, to use this feature in release Player builds, go to Edit > Project Settings > Player and enable the Frame Timing Stats property. If you enable the feature in settings, it’ll remain active whether or not you need it at a specific point in time.