using UnityEngine.XR.Management;
namespace UnityEngine.XR.ARKit
{
///
/// Settings to control the ARKitLoader behavior.
///
[XRConfigurationData("ARKit", ARKitLoaderConstants.k_SettingsKey)]
[System.Serializable]
public class ARKitLoaderSettings : ScriptableObject
{
///
/// Static instance that will hold the runtime asset instance we created in our build process.
///
#if !UNITY_EDITOR
internal static ARKitLoaderSettings s_RuntimeInstance = null;
#endif
[SerializeField, Tooltip("Allow the ARKit Loader to start and stop subsystems.")]
bool m_StartAndStopSubsystems = false;
public bool startAndStopSubsystems
{
get { return m_StartAndStopSubsystems; }
set { m_StartAndStopSubsystems = value; }
}
public void Awake()
{
#if !UNITY_EDITOR
s_RuntimeInstance = this;
#endif
}
}
}