Class PerceptionAnalytics
Editor and Runtime analytics for the Perception package.
Namespace: UnityEngine.Perception.Analytics
Syntax
public static class PerceptionAnalytics : object
Remarks
To add an event:
- Create a constant with the name of the event (eg: UnityEngine.Perception.Analytics.PerceptionAnalytics.k_EventScenarioInformation)
- Add the constant to UnityEngine.Perception.Analytics.PerceptionAnalytics.allEvents
- Create a function that will report data for the event and at the start of it call UnityEngine.Perception.Analytics.PerceptionAnalytics.TryRegisterPerceptionAnalyticsEvent(UnityEngine.Perception.Analytics.AnalyticsEvent) with the event name defined in step 1. Note: Remember to use the conditional "#if UNITY_EDITOR" if adding editor analytics.
Fields
labelerAllowList
Which labelers will be identified and included in the analytics information.
Declaration
public static readonly string[] labelerAllowList
Field Value
Type | Description |
---|---|
String[] |