文档

Unity Engine

Unity Engine

BuildCallbackVersionAttribute

Defines a version number for build callbacks.
阅读时间3 分钟最后更新于 9 天前

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