Files
VR-WuKong/Packages/PICO Unity Integration SDK-3.3.2-20251111/Platform/Editor/PlatformPreprocessor.cs

36 lines
1.3 KiB
C#
Raw Normal View History

2025-11-13 17:40:28 +08:00
/*******************************************************************************
Copyright © 2015-2022 PICO Technology Co., Ltd.All rights reserved.
NOTICEAll information contained herein is, and remains the property of
PICO Technology Co., Ltd. The intellectual and technical concepts
contained herein are proprietary to PICO Technology Co., Ltd. and may be
covered by patents, patents in process, and are protected by trade secret or
copyright law. Dissemination of this information or reproduction of this
material is strictly forbidden unless prior written permission is obtained from
PICO Technology Co., Ltd.
*******************************************************************************/
using Unity.XR.PXR;
using UnityEditor.Build;
using UnityEditor.Build.Reporting;
using UnityEngine;
namespace Pico.Platform.Editor
{
public class PlatformPreprocessor : IPreprocessBuildWithReport
{
public int callbackOrder
{
get { return 0; }
}
public void OnPreprocessBuild(BuildReport report)
{
string configAppID = PXR_PlatformSetting.Instance.appID.Trim();
if (string.IsNullOrWhiteSpace(configAppID))
{
Debug.LogWarning("appID is not configured");
}
}
}
}