BuildCallbackVersionAttribute
Defines a version number for build callbacks.
読み終わるまでの所要時間 3 分最終更新 9日前
Definition
- Type: Class
- Namespace: UnityEditor.Build
- Assembly: UnityEditor.CoreModule
- Inherits from: Attribute
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]public class BuildCallbackVersionAttribute : Attribute
Remarks
Unity uses this version number to detect when the callback implementation changes and rebuilds the affected results. Increment the version number when you change the implementation of the callback. If you don't apply the attribute, Unity uses version 1.
Additional Resources: AssetPostprocessor.GetVersion, IProcessSceneWithReport, EditorBuildSettings.UseParallelAssetBundleBuilding
Constructors
Constructor | Description |
|---|---|
| BuildCallbackVersionAttribute(System.UInt32) | Constructor taking the version number for the callback. |
Properties
Property | Description |
|---|---|
| Version | Version number. |