Version: Unity 7.0 Alpha (7000.0)
LanguageEnglish
  • C#

BuildCallbackVersionAttribute

class in UnityEditor.Build

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Defines a version number for build callbacks.

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.

If you apply this attribute to a class that implements the deprecated IProcessSceneWithReport interface, migrate the class to AssetPostprocessor.OnProcessScene and override AssetPostprocessor.GetVersion instead.

Additional resources: AssetPostprocessor.GetVersion, IProcessSceneWithReport, EditorBuildSettings.UseParallelAssetBundleBuilding

Properties

Property Description
VersionVersion number.

Constructors

Constructor Description
BuildCallbackVersionAttributeConstructor taking the version number for the callback.