文档

Unity Engine

Download Unity

Unity Engine

callbacks

The callbacks to run after a build that used the associated build profile.
阅读时间1 分钟最后更新于 16 天前

Definition

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.