Version: 2020.2
言語: 日本語

説明

Dispatches whenever a platform build starts. Use this event to enable Analytics in a platform build.

using UnityEditor;

[InitializeOnLoad] internal class SomeNewServiceRequiresAnalyticsDeviceStats { static SomeNewServiceRequiresAnalyticsDeviceStats() { UnityEditor.Analytics.AnalyticsSettings.OnRequireInBuildHandler += () => { return true; }; } }