Files
wub 530cdbf98f animation riging
riged the lights to the root animatior ready for animation
2026-11-30 19:13:17 +00:00

48 lines
1.4 KiB
C#

#if ENABLE_CLOUD_SERVICES_ANALYTICS || UNITY_2023_2_OR_NEWER
using System;
using UnityEngine;
namespace UnityEditor.XR.Interaction.Toolkit.Analytics
{
/// <summary>
/// Information about the modality for either the left or right hand/controller in the XR Input Modality Manager component.
/// Contains modality durations for the play mode analytics payload.
/// </summary>
[Serializable]
struct ModalityRuntimeData
{
/// <summary>
/// Whether the hand GameObject is assigned in the XR Input Modality Manager component.
/// </summary>
[SerializeField]
public bool handAssigned;
/// <summary>
/// Whether the controller GameObject is assigned in the XR Input Modality Manager component.
/// </summary>
[SerializeField]
public bool controllerAssigned;
/// <summary>
/// How long neither modality was active during play mode.
/// </summary>
[SerializeField]
public float noneDurationSeconds;
/// <summary>
/// How long the tracked hand modality was active during play mode.
/// </summary>
[SerializeField]
public float trackedHandDurationSeconds;
/// <summary>
/// How long the motion controller modality was active during play mode.
/// </summary>
[SerializeField]
public float motionControllerDurationSeconds;
}
}
#endif