onAddSetting
Optional callback that supplies the settings object when the settings are first added to a build profile.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Property
- Namespace: UnityEditor.Build.Profile
- Assembly: UnityEditor.BuildProfileModule
public Func<BuildProfile, ScriptableObject> onAddSetting { get; set; }
Remarks
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.