#if UNITY_EDITOR
using System;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine.XR.OpenXR.Features;
namespace UnityEngine.XR.OpenXR
{
public interface IPackageSettings
{
OpenXRSettings GetSettingsForBuildTargetGroup(BuildTargetGroup buildTargetGroup);
string GetActiveLoaderLibraryPath();
///
/// Returns all features of a given type from all existing build target groups.
///
/// Feature type
/// All known features of the given type within the package settings
IEnumerable<(BuildTargetGroup buildTargetGroup, T feature)> GetFeatures() where T : OpenXRFeature;
internal void RefreshFeatureSets();
internal string PackageSettingsAssetPath();
}
interface IPackageSettings2 : IPackageSettings
{
internal void OverrideSettingsLocatorFunc(Func locatorFunc);
internal void RestoreDefaultSettingsLocatorFunc();
internal bool IsSettingsLocatorFuncOverriden();
}
}
#endif // UNITY_EDITOR