예제 #1
0
        private void Awake()
        {
            FbManager.InitializedFbSdk();
            AppsFlyerManager.InitializedAppsFlyerSdk();
            PlayerPrefs.SetString(KeyDataDTO.LocationKey, GeoService.GetUserLocation());

            _outputDataScene.ShowDataOutput();
        }
예제 #2
0
        public static void NextScene()
        {
            var locationUser = PlayerPrefs.GetString(KeyDataDTO.LocationKey);

            if (locationUser == KeyDataDTO.RussiaKey)
            {
                FbManager.SendEvent("webview-started");
                AppsFlyerManager.SendEvent("webview-started");

                LoadScene(KeyDataDTO.WebViewSceneName);
            }
            else
            {
                FbManager.SendEvent("wrapper-started");
                AppsFlyerManager.SendEvent("wrapper-started");

                LoadScene(KeyDataDTO.WrapperSceneName);
            }
        }