Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

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 var enabled: bool;
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.

Did you find this page useful? Please give it a rating: