using System;
using UnityEngine;
namespace UnityEditor.XR.Interaction.Toolkit.Analytics
{
///
/// Contains locomotion-related data for play mode analytics payload.
///
[Serializable]
struct NameCountUsageData
{
///
/// Single entry of a type name, count of that type, and whether the type was used.
///
[Serializable]
public struct NameCountUsageEntry
{
///
/// The type name.
///
[SerializeField]
public string typeName;
///
/// The number of components that are of this type.
///
[SerializeField]
public int count;
///
/// Whether the component was used, such as if the locomotion provider started.
///
[SerializeField]
public bool wasUsed;
}
///
/// The list of unique component types for those that are a built-in XRI component.
///
[SerializeField]
public NameCountUsageEntry[] builtInTypes;
///
/// The list of unique component types for those that are defined in other Unity packages.
///
[SerializeField]
public NameCountUsageEntry[] unityTypes;
///
/// The list of unique component types for those that are defined in non-Unity packages or project scripts.
///
[SerializeField]
public NameCountUsageEntry[] customTypes;
}
}