BuildCallbackVersionAttribute
Attribute to provide a version number for IProcessSceneWithReport callbacks.
阅读时间3 分钟最后更新于 1 个月前
Definition
- Type: Class
- Namespace: UnityEditor.Build
- Assembly: UnityEditor
- Inherits from: Attribute
- Implements: _Attribute
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]public class BuildCallbackVersionAttribute : Attribute, _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. |