using UnityEditor.Build.Pipeline.Injector; using UnityEditor.Build.Pipeline.Interfaces; namespace UnityEditor.Build.Pipeline.Tasks { /// /// Processes all callbacks after the bundle packing task. /// public class PostPackingCallback : IBuildTask { /// public int Version { get { return 1; } } #pragma warning disable 649 [InjectContext] IBuildParameters m_Parameters; [InjectContext] IDependencyData m_DependencyData; [InjectContext] IWriteData m_WriteData; [InjectContext(ContextUsage.In)] IPackingCallback m_Callback; #pragma warning restore 649 /// public ReturnCode Run() { return m_Callback.PostPacking(m_Parameters, m_DependencyData, m_WriteData); } } }