Açıklama Yok
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

BuildPreprocessor.cs 628B

123456789101112131415161718192021222324
  1. using System;
  2. using UnityEditor.Build;
  3. using UnityEditor.Build.Reporting;
  4. namespace UnityEditor.Purchasing
  5. {
  6. class BuildPreprocessor : IPreprocessBuildWithReport
  7. {
  8. public int callbackOrder => 0;
  9. public void OnPreprocessBuild(BuildReport report)
  10. {
  11. switch (report.summary.platform)
  12. {
  13. case BuildTarget.WSAPlayer:
  14. WinRTPatcher.PatchWinRTBuild();
  15. break;
  16. case BuildTarget.Android:
  17. UnityPurchasingEditor.OnPostProcessScene();
  18. break;
  19. }
  20. }
  21. }
  22. }