mirror of
https://udrimavric.com/MAVRIC/Stratasys-450mc-VR.git
synced 2025-01-27 17:56:37 -05:00
24 lines
618 B
C#
24 lines
618 B
C#
namespace UnityEngine.XR.Content.Interaction.Analytics
|
|
{
|
|
/// <summary>
|
|
/// Class that manages scene analytics events for <c>XRContent</c>.
|
|
/// </summary>
|
|
[AddComponentMenu("")]
|
|
[DisallowMultipleComponent]
|
|
public class XrcSceneAnalytics : MonoBehaviour
|
|
{
|
|
void Awake()
|
|
{
|
|
XrcAnalytics.interactionEvent.Send(new SceneStarted());
|
|
}
|
|
|
|
#if UNITY_EDITOR
|
|
void OnValidate()
|
|
{
|
|
gameObject.hideFlags = UnityEditor.Unsupported.IsDeveloperMode() ? HideFlags.None : HideFlags.HideInHierarchy | HideFlags.NotEditable;
|
|
}
|
|
|
|
#endif
|
|
}
|
|
}
|