Version: Unity 6.6 Alpha (6000.6)
LanguageEnglish
  • C#

BuildProfileSettingsProvider.canAddSetting

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 Func<BuildProfile,bool> canAddSetting;

Description

Callback that determines if the settings object this provider describes can be added to the given build profile. Must be set for settings to appear in the Build Profile window; when not set, the settings will not be shown.

The delegate receives a BuildProfile and returns true if the settings foldout should be available for that profile.