#if UNITY_2019_4_OR_NEWER using System; namespace UnityEditor.Build.Pipeline.Utilities { /// /// 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. /// [AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)] public class VersionedCallbackAttribute : Attribute { public readonly float version; /// /// 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. /// /// The version of this callback. public VersionedCallbackAttribute(float version) { this.version = version; } } } #endif