// Start is called before the first frame update
        private IEnumerator Start()
        {
            sceneLoad.Init();

            Firebase.FirebaseApp.CheckAndFixDependenciesAsync().ContinueWith(task =>
            {
                dependencyStatus = task.Result;
                if (dependencyStatus == Firebase.DependencyStatus.Available)
                {
                    isFirebaseInitialized = true;
                }
                else
                {
                    D.LogError("Could not resolve Firebase dependencies: " + dependencyStatus);
                }
            });

            while (!isFirebaseInitialized)
            {
                yield return(null);
            }

            GameObject             holderObj = new GameObject("RemoteConfigHolder");
            RemoteConfigDataHolder holder    = holderObj.AddComponent <RemoteConfigDataHolder>();

            holder.IsRemoteConfigSet = isFirebaseInitialized;
            holderObj.AddComponent <DontDestroyOnLoad>();

            sceneLoad.IsFirebaseLoaded = isFirebaseInitialized;
        }
        private bool DoesRMExist()
        {
            RemoteConfigDataHolder dataHolder = FindObjectOfType <RemoteConfigDataHolder>();

            if (dataHolder != null)
            {
                this.dataHolder = dataHolder;
                return(true);
            }
            return(false);
        }