BuildCallbackVersionAttribute
Attribute to provide a version number for IProcessSceneWithReport callbacks.
Read time 3 minutesLast updated 5 days ago
Definition
- Type: Class
- Namespace: UnityEditor.Build
- Assembly: UnityEditor.CoreModule
- Inherits from: Attribute
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]public class BuildCallbackVersionAttribute : Attribute
Remarks
This attribute is used to inform the build system when the callback implementation changes and the build result needs to be regenerated. Therefore, developers should bump the version number when changing the implementation of the callback. If the attribute is not specified, the implied version number is 1.
Additional Resources: IProcessSceneWithReport, EditorBuildSettings.UseParallelAssetBundleBuilding
Constructors
Constructor | Description |
|---|---|
| BuildCallbackVersionAttribute(System.UInt32) | Constructor taking the version number for the callback. |
Properties
Property | Description |
|---|---|
| Version | Version number. |