callbacks
The callbacks to run after a build that used the associated build profile.
Read time 1 minuteLast updated 2 days ago
Definition
- Type: Property
- Namespace: UnityEditor.Build.Profile
- Assembly: UnityEditor.CoreModule
public IBuildProfilePostprocessBuild[] callbacks { get; set; }
Remarks
The callbacks run in array order, starting at index 0. Assigning a new array replaces the callbacks already attached. After you change this property, call EditorUtility.SetDirty on the component so the change is saved with the build profile. Unity skips null entries, such as an element whose callback type no longer exists.