IXRLoaderPreInit.cs 785 B

123456789101112131415161718192021
  1. #if UNITY_EDITOR
  2. using UnityEditor;
  3. namespace UnityEngine.XR.Management
  4. {
  5. /// <summary>
  6. /// XRLoader interface for retrieving the XR PreInit library name from an XRLoader instance
  7. /// </summary>
  8. public interface IXRLoaderPreInit
  9. {
  10. /// <summary>
  11. /// Get the library name, if any, to use for XR PreInit.
  12. /// </summary>
  13. ///
  14. /// <param name="buildTarget">An enum specifying which platform this build is for.</param>
  15. /// <param name="buildTargetGroup">An enum specifying which platform group this build is for.</param>
  16. /// <returns>A string specifying the library name used for XR PreInit.</returns>
  17. string GetPreInitLibraryName(BuildTarget buildTarget, BuildTargetGroup buildTargetGroup);
  18. }
  19. }
  20. #endif