callbacks
The callbacks to run after a build that used the associated build profile.
阅读时间1 分钟最后更新于 16 天前
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.