21 lines
785 B
C#
21 lines
785 B
C#
#if UNITY_EDITOR
|
|
using UnityEditor;
|
|
|
|
namespace UnityEngine.XR.Management
|
|
{
|
|
/// <summary>
|
|
/// XRLoader interface for retrieving the XR PreInit library name from an XRLoader instance
|
|
/// </summary>
|
|
public interface IXRLoaderPreInit
|
|
{
|
|
/// <summary>
|
|
/// Get the library name, if any, to use for XR PreInit.
|
|
/// </summary>
|
|
///
|
|
/// <param name="buildTarget">An enum specifying which platform this build is for.</param>
|
|
/// <param name="buildTargetGroup">An enum specifying which platform group this build is for.</param>
|
|
/// <returns>A string specifying the library name used for XR PreInit.</returns>
|
|
string GetPreInitLibraryName(BuildTarget buildTarget, BuildTargetGroup buildTargetGroup);
|
|
}
|
|
}
|
|
#endif
|