Version: Unity 6.7 Beta (6000.7)
LanguageEnglish
  • C#

BuildProfileSettingsProvider.onAddSetting

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,ScriptableObject> onAddSetting;

Description

Optional callback that supplies the settings object when the settings are first added to a build profile.

When BuildProfileSettingsProvider.isStandaloneAsset is true, the callback returns an existing asset in your project for the build profile to reference. Otherwise, the callback returns a new object that Unity stores inside the build profile.