docs.unity3d.com
    Show / Hide Table of Contents

    Class PerceptionAnalytics

    Editor and Runtime analytics for the Perception package.

    Inheritance
    Object
    PerceptionAnalytics
    Namespace: UnityEngine.Perception.Analytics
    Syntax
    public static class PerceptionAnalytics : object
    Remarks

    To add an event:

    1. Create a constant with the name of the event (eg: UnityEngine.Perception.Analytics.PerceptionAnalytics.k_EventScenarioInformation)
    2. Add the constant to UnityEngine.Perception.Analytics.PerceptionAnalytics.allEvents
    3. 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[]
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023