Unity Engine documentation Script Reference UnityEditor UnityEditor.Analytics AnalyticsSettings Editor API for the Unity Services editor feature. Normally Analytics is enabled from the Services window, but if writing your own editor extension, this API can be used.
Read time 1 minute
Last updated 6 days ago Definition
public static class AnalyticsSettings
Static Properties
Property Description configUrl Set the Analytics config end point. dashboardUrl Get the Analytics dashboard endpoint. deviceStatsEnabledInBuild Reports whether device stats are enabled at runtime. enabled If set to true, this Boolean field enables the Analytics feature in Unity. It disables the feature if it is set to false. eventUrl Set the Analytics event end point. initializeOnStartup Controls whether Unity initializes Analytics immediately on startup. testMode Set to true for testing Analytics integration only within the Editor.
Static Events
Member Description OnRequireInBuildHandler Dispatches whenever a platform build starts. Use this event to enable Analytics in a platform build.
Delegates