Version: 2023.1

BuildCallbackVersionAttribute

class in UnityEditor.Build

切换到手册

描述

Attribute to provide a version number for IProcessSceneWithReport callbacks.

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.

See Also: IProcessSceneWithReport, EditorBuildSettings.UseParallelAssetBundleBuilding

变量

VersionVersion number.

构造函数

BuildCallbackVersionAttributeConstructor taking the version number for the callback.