PlatformPreprocessor.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*******************************************************************************
  2. Copyright © 2015-2022 PICO Technology Co., Ltd.All rights reserved.
  3. NOTICE:All information contained herein is, and remains the property of
  4. PICO Technology Co., Ltd. The intellectual and technical concepts
  5. contained herein are proprietary to PICO Technology Co., Ltd. and may be
  6. covered by patents, patents in process, and are protected by trade secret or
  7. copyright law. Dissemination of this information or reproduction of this
  8. material is strictly forbidden unless prior written permission is obtained from
  9. PICO Technology Co., Ltd.
  10. *******************************************************************************/
  11. using Unity.XR.PXR;
  12. using UnityEditor.Build;
  13. using UnityEditor.Build.Reporting;
  14. using UnityEngine;
  15. namespace Pico.Platform.Editor
  16. {
  17. public class PlatformPreprocessor : IPreprocessBuildWithReport
  18. {
  19. public int callbackOrder
  20. {
  21. get { return 0; }
  22. }
  23. public void OnPreprocessBuild(BuildReport report)
  24. {
  25. string configAppID = PXR_PlatformSetting.Instance.appID.Trim();
  26. if (string.IsNullOrWhiteSpace(configAppID))
  27. {
  28. Debug.LogWarning("appID is not configured");
  29. }
  30. }
  31. }
  32. }