Documentation

Unity Engine

Download Unity

Unity Engine

BuildCallbackVersionAttribute

Defines a version number for build callbacks.
Read time 3 minutesLast updated 22 days ago

Definition

[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

VersionVersion number.

Inheritance

Inherited Members