BuildPostProcessor.cs 839 B

1234567891011121314151617181920212223242526272829
  1. //-----------------------------------------------------------------------
  2. //-----------------------------------------------------------------------
  3. #if UNITY_EDITOR && UNITY_IOS
  4. namespace Rokid.XR.Core.Editor
  5. {
  6. using System.Collections.Generic;
  7. using System.IO;
  8. using UnityEditor;
  9. using UnityEditor.Callbacks;
  10. using UnityEngine;
  11. /// <summary>Processes the project files after the build is performed.</summary>
  12. public static class BuildPostProcessor
  13. {
  14. /// <summary>Unity callback to process after build.</summary>
  15. /// <param name="buildTarget">Target built.</param>
  16. /// <param name="path">Path to built project.</param>
  17. [PostProcessBuild]
  18. public static void OnPostProcessBuild(BuildTarget buildTarget, string path)
  19. {
  20. }
  21. }
  22. }
  23. #endif