#if ENABLE_CLOUD_SERVICES_ANALYTICS || UNITY_2023_2_OR_NEWER using System; using UnityEngine; namespace UnityEditor.XR.Interaction.Toolkit.Analytics { /// /// XRI package project settings data for the analytics payload. /// [Serializable] struct XRIProjectSettingsData { /// /// Determines how the Inspector window displays input reader properties. /// UnityEditor.XR.Interaction.Toolkit.XRInteractionEditorSettings.InputReaderPropertyDrawerMode enum as an int. /// 0 = Compact /// 1 = MultilineEffective /// 2 = MultilineAll /// [SerializeField] public int inputReaderPropertyDrawerMode; /// /// Whether the simulator prefab is automatically instantiated. /// [SerializeField] public bool automaticallyInstantiateSimulatorPrefab; /// /// Whether the simulator prefab is only automatically instantiated in the Unity Editor /// or whether it can also be instantiated in standalone builds. /// [SerializeField] public bool automaticallyInstantiateInEditorOnly; /// /// Whether to use the classic/legacy XRDeviceSimulator prefab or the new XRInteractionSimulator prefab introduced with XRI 3.1. /// [SerializeField] public bool useClassic; /// /// Whether the simulator prefab is assigned. /// [SerializeField] public bool hasSimulatorPrefab; /// /// The number of custom interaction layers defined in the project. /// [SerializeField] public int userLayersCount; /// /// Whether the interaction layer User Layer 31 is Teleport, which is recommended by the Starter Assets sample. /// [SerializeField] public bool hasTeleportLayer31; } } #endif