Version: Unity 6.4 Alpha (6000.4)
LanguageEnglish
  • C#

DiagnosticParams.SetParameter

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

Declaration

public void SetParameter(string paramName, string userFriendlyName, string tooltip, int value, BuildTargetGroup platform);

Parameters

Parameter Description
paramName Parameter name to set.
userFriendlyName A user friendly name to show in project settings.
tooltip Text to show on a tooltip in project settings.
value Value to set the parameter to.
platform Analysis target platform for which to set the value. Defaults to BuildTarget.NoTarget which sets the value for the default platform.

Description

Set the value of a named parameter for a given analysis platform.