static AccelBytePlugin()
        {
#if UNITY_EDITOR // Handle an unexpected behaviour if Domain Reload (experimental) is disabled
            EditorApplication.playModeStateChanged += state =>
            {
                if (state == PlayModeStateChange.ExitingEditMode)
                {
                    hasBeenInitialized = false;

                    categories    = null;
                    items         = null;
                    orders        = null;
                    wallet        = null;
                    userProfiles  = null;
                    lobby         = null;
                    cloudStorage  = null;
                    gameProfiles  = null;
                    entitlement   = null;
                    statistic     = null;
                    qos           = null;
                    agreement     = null;
                    leaderboard   = null;
                    cloudSave     = null;
                    gameTelemetry = null;
                }
            };
        }
        public static GameTelemetry GetGameTelemetry()
        {
            if (AccelBytePlugin.gameTelemetry == null)
            {
                CheckPlugin();
                AccelBytePlugin.gameTelemetry = new GameTelemetry(
                    new GameTelemetryApi(AccelBytePlugin.config.GameTelemetryServerUrl, AccelBytePlugin.httpWorker),
                    AccelBytePlugin.user.Session,
                    AccelBytePlugin.coroutineRunner);
            }

            return(AccelBytePlugin.gameTelemetry);
        }
 private static void ResetApis()
 {
     categories    = null;
     items         = null;
     orders        = null;
     wallet        = null;
     userProfiles  = null;
     lobby         = null;
     cloudStorage  = null;
     gameProfiles  = null;
     entitlement   = null;
     statistic     = null;
     qos           = null;
     agreement     = null;
     leaderboard   = null;
     cloudSave     = null;
     gameTelemetry = null;
     ugc           = null;
     seasonPass    = null;
     reward        = null;
 }