Version: 2020.3
LanguageEnglish
  • C#

PerformanceReporting.enabled

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public static bool enabled;

Description

Controls whether the Performance Reporting service is enabled at runtime.

Setting this property to false at runtime disables the Performance Reporting service. You can set this property to true to re-enable the Performance Reporting service, but only if Performance Reporting was enabled when the project was built.

If Performance Reporting was not enabled when the project was built, you cannot use this setting to enable it at runtime.