Class VersionedCallbackAttribute
Attribute provides the version details for IProcessScene, IProcessSceneWithReport, IPreprocessShaders, and IPreprocessComputeShaders callbacks. Increment the version number when the callback changes and the build result needs to change.
Implements
Inherited Members
Namespace: UnityEditor.Build.Pipeline.Utilities
Assembly: Unity.ScriptableBuildPipeline.Editor.dll
Syntax
[AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)]
public class VersionedCallbackAttribute : Attribute, _Attribute
Constructors
VersionedCallbackAttribute(float)
Attribute provides the version details for IProcessScene, IProcessSceneWithReport, IPreprocessShaders, and IPreprocessComputeShaders callbacks. Increment the version number when the callback changes and the build result needs to change.
Declaration
public VersionedCallbackAttribute(float version)
Parameters
Type | Name | Description |
---|---|---|
float | version | The version of this callback. |
Fields
version
Declaration
public readonly float version
Field Value
Type | Description |
---|---|
float |