Exemplo n.º 1
0
 static GuiOptions()
 {
     if (PlayerPrefs.HasKey("GraphicDetail") == true)
     {
         graphicDetail = PlayerPrefs.GetInt("GraphicDetail", (int)DeviceInfo.Performance.Medium);
     }
     if (PlayerPrefs.HasKey("Language") == true)
     {
         _language = (E_Language)PlayerPrefs.GetInt("Language", (int)DefaultLanguage);
         if (!System.Enum.IsDefined(typeof(E_Language), _language))
         {
             Debug.LogWarning("Invalid language loaded from options!");
             _language = DefaultLanguage;
         }
     }
     if (PlayerPrefs.HasKey("SoundVolume") == true)
     {
         soundVolume = PlayerPrefs.GetFloat("SoundVolume", DefaultSoundVolume);
     }
     if (PlayerPrefs.HasKey("MusicVolume") == true)
     {
         musicVolume = PlayerPrefs.GetFloat("MusicVolume", DefaultMusicVolume);
     }
     if (PlayerPrefs.HasKey("MusicOn") == true)
     {
         musicOn = PlayerPrefs.GetInt("MusicOn", DefaultMusicOn ? 1 : 0) == 1 ? true : false;
     }
 }
Exemplo n.º 2
0
        public StationData(GetStationsInforResponseData getStationsInforResponseData, E_Language language)
        {
            Language    = language;
            StationCode = getStationsInforResponseData.StationCode;
            Longitude   = getStationsInforResponseData.General.Long;
            Latitude    = getStationsInforResponseData.General.Lat;
            Area        = getStationsInforResponseData.General.StationArea;
            switch (language)
            {
            case E_Language.Hebrew:
                Name = getStationsInforResponseData.Hebrew.StationName;
                break;

            case E_Language.English:
                Name = getStationsInforResponseData.English.StationName;
                break;

            case E_Language.Russian:
                Name = getStationsInforResponseData.Russian.StationName;
                break;

            case E_Language.Arabic:
                Name = getStationsInforResponseData.Arabic.StationName;
                break;
            }
            OpeningHours = getStationsInforResponseData.StationTimes.Select(x => new OpeningHours(x));
            Facilities   = getStationsInforResponseData.InStation.Select(x => new StationFacility(x, language));
            Parking      = getStationsInforResponseData.Parking.Select(x => new StationParking(x, language));
            Cashiers     = getStationsInforResponseData.CashierTimes.Select(x => new Cashier(x, language));
        }
Exemplo n.º 3
0
        public Cashier(Cashiertime cashier, E_Language language)
        {
            switch (language)
            {
            case E_Language.Hebrew:
                Name = cashier.Hebrew;
                break;

            case E_Language.English:
                Name = cashier.English;
                break;

            case E_Language.Russian:
                Name = cashier.Russian;
                break;

            case E_Language.Arabic:
                Name = cashier.Arabic;
                break;
            }
            Sunday   = cashier.DayS;
            Weekday  = cashier.DayMW;
            Thursday = cashier.DayT;
            Friday   = cashier.DayF;
            Saturday = cashier.DaySNight;
        }
Exemplo n.º 4
0
        public StationParking(Parking parking, E_Language language)
        {
            switch (language)
            {
            case E_Language.Hebrew:
                Name    = parking.NameHeb;
                Address = parking.AdressHeb;
                break;

            case E_Language.English:
                Name    = parking.NameEng;
                Address = parking.AdressEng;
                break;

            case E_Language.Russian:
                Name    = parking.NameRus;
                Address = parking.AdressRus;
                break;

            case E_Language.Arabic:
                Name    = parking.NameArb;
                Address = parking.AdressArb;
                break;
            }
            float.TryParse(parking.lat, out float lat);
            float.TryParse(parking.Long, out float lon);
            Latitude  = lat;
            Longitude = lon;
            Distance  = parking.distance;
        }
Exemplo n.º 5
0
        public StationFacility(Instation instation, E_Language language)
        {
            switch (language)
            {
            case E_Language.Hebrew:
                Name        = instation.NameHeb;
                Description = instation.DessHeb;
                break;

            case E_Language.English:
                Name        = instation.NameEng;
                Description = instation.DessEng;
                break;

            case E_Language.Russian:
                Name        = instation.NameRus;
                Description = instation.DessRus;
                break;

            case E_Language.Arabic:
                Name        = instation.NameArb;
                Description = instation.DessArb;
                break;
            }
        }
Exemplo n.º 6
0
        public StationUpdate(GetStationsInfoResponseData getStationsInfoResponseData, E_Language language)
        {
            Language = language;
            switch (language)
            {
            case E_Language.Hebrew:
                Name    = getStationsInfoResponseData.NameHeb;
                Content = HttpUtility.HtmlDecode(getStationsInfoResponseData.UpdateContentHeb);
                Link    = getStationsInfoResponseData.UpdateLinkHeb;
                break;

            case E_Language.English:
                Name    = getStationsInfoResponseData.NameEng;
                Content = HttpUtility.HtmlDecode(getStationsInfoResponseData.UpdateContentEng);
                Link    = getStationsInfoResponseData.UpdateLinkEng;
                break;

            case E_Language.Russian:
                Name    = getStationsInfoResponseData.NameRus;
                Content = HttpUtility.HtmlDecode(getStationsInfoResponseData.UpdateContentRus);
                Link    = getStationsInfoResponseData.UpdateLinkRus;
                break;

            case E_Language.Arabic:
                Name    = getStationsInfoResponseData.NameArb;
                Content = HttpUtility.HtmlDecode(getStationsInfoResponseData.UpdateContentArb);
                Link    = getStationsInfoResponseData.UpdateLinkArb;
                break;
            }
        }
    void Init()
    {
        selected = null;
        miDic.Clear();

        buyBtn.interactable = false;
        nowGold             = GoldManager.GetInstance().Gold;
        nowGoldTxt.text     = nowGold.ToString();

        int miCount = (int)E_Interior.MAX;

        nowLang = LanguageManager.GetInstance().Language;
        //nowLang = E_Language.ENGLISH;

        for (int i = 0; i < miCount; i++)
        {
            string name    = "";
            string comment = "";
            int    price   = merchantInteriorSheet.dataArray[i].Price;
            switch (nowLang)
            {
            case E_Language.KOREAN:
                name    = merchantInteriorSheet.dataArray[i].Namekor;
                comment = merchantInteriorSheet.dataArray[i].Micmtkor;
                break;

            case E_Language.ENGLISH:
                name    = merchantInteriorSheet.dataArray[i].Nameeng;
                comment = merchantInteriorSheet.dataArray[i].Micmteng;
                break;
            }

            int num = i;

            GameObject btn = Instantiate(buyInteriorBtn, buyInteriorContent.transform);

            btn.GetComponent <Button>().onClick.AddListener(
                () =>
            {
                AudioThing.GetInstance().PlaySFX(AudioThing.E_SFX.CLICK);
                SelectInterior(num);
            }

                );
            miDic.Add(num, new miBtn((E_Interior)i, btn, name, price, comment));

            SetTxtsInteriorBtn(btn, price, name, (E_Interior)i);

            if (PhaseManager.GetInstance().IsOpen((E_Interior)i))
            {
                btn.GetComponent <Button>().interactable = false;
            }
        }
        ShowDefaultComment();
        GoldAdjustShow(0);
    }
Exemplo n.º 8
0
 public void SetLanguage(E_Language lang)
 {
     if (this.lang == lang)
     {
         return;
     }
     this.lang = lang;
     if (languageChanged != null)
     {
         languageChanged(); //언어 변경 이벤트 발생.
     }
 }
Exemplo n.º 9
0
    void Init()
    {
        selected = null;
        msBtnDic.Clear();
        sellNumber = 1;
        ShowNumText();

        sellBtn.interactable = false;
        nowGold         = GoldManager.GetInstance().Gold;
        nowGoldTxt.text = nowGold.ToString();

        nowLang = LanguageManager.GetInstance().Language;
        // nowLang = E_Language.ENGLISH;

        List <QuestPerMob> nowEviInvenList = Inventory.GetInstance().GetNowMobEvidencesInven();

        for (int i = 0; i < nowEviInvenList.Count; i++)
        {
            string comment = "";
            uint   dickey  = MakeDicKey((int)nowEviInvenList[i].mob, (int)nowEviInvenList[i].evidence);
            int    price   = msCmtDic[dickey].Sellprice;

            switch (nowLang)
            {
            case E_Language.KOREAN:
                comment = msCmtDic[dickey].Cmtkor;
                break;

            case E_Language.ENGLISH:
                comment = msCmtDic[dickey].Cmteng;
                break;
            }

            int num = i;

            GameObject btn = Instantiate(sellBtnPrefab, sellListContent.transform);

            btn.GetComponent <Button>().onClick.AddListener(
                () =>
            {
                AudioThing.GetInstance().PlaySFX(AudioThing.E_SFX.CLICK);
                SelectSell(num);
            }
                );
            msBtnDic.Add(num, new msBtn(nowEviInvenList[i].mob, nowEviInvenList[i].evidence, btn, nowEviInvenList[i].number, price, comment));

            SetTxtsSellBtn(btn, nowEviInvenList[i].mob, nowEviInvenList[i].evidence, nowEviInvenList[i].number, price);
        }
        ShowDefaultComment();
        GoldAdjustShow(0);
    }
Exemplo n.º 10
0
    void Init()
    {
        selected = null;
        merchantWeaponDic.Clear();

        buyBtn.interactable = false;
        nowGold             = GoldManager.GetInstance().Gold;
        nowGoldTxt.text     = nowGold.ToString();

        int merchantWeaponCount = (int)E_Weapon.MAX;

        nowLang = LanguageManager.GetInstance().Language;

        for (int i = 0; i < merchantWeaponCount; i++)
        {
            string name    = "";
            string comment = "";
            int    price   = merchantWeaponSheet.dataArray[i].Price;
            switch (nowLang)
            {
            case E_Language.KOREAN:
                name    = weaponInfo.dataArray[i].Namekor;
                comment = merchantWeaponSheet.dataArray[i].Mwcmtkor;
                break;

            case E_Language.ENGLISH:
                name    = weaponInfo.dataArray[i].Nameeng;
                comment = merchantWeaponSheet.dataArray[i].Mwcmteng;
                break;
            }

            int num = i;

            GameObject btn    = Instantiate(buyWeaponBtn, buyWeaponContent.transform);
            Weapon     weapon = WeaponInfoManager.GetInstance().CreateWeapon((E_Weapon)i);


            btn.GetComponent <Button>().onClick.AddListener(
                () =>
            {
                SelectWeapon(num);
            }

                );
            merchantWeaponDic.Add(num, new merchantWeapon(btn, weapon, price, comment));

            SetTxtsWeaponBtn(weapon, btn, price);
        }
        ShowDefaultComment();
        GoldAdjustShow(0);
    }
Exemplo n.º 11
0
        public static int GetNumFromChar(char inChar, E_Language inLanguage)
        {
            switch (inLanguage)
            {
            case E_Language.English:
                for (int i = 0; i < EngAlph.Length; ++i)
                {
                    if (EngAlph[i] == inChar)
                    {
                        return(i);
                    }
                }

                break;

            case E_Language.Russian:
                for (int i = 0; i < RusAlph.Length; ++i)
                {
                    if (RusAlph[i] == inChar)
                    {
                        return(i);
                    }
                }
                break;

            case E_Language.EnglishFull:
                for (int i = 0; i < EngFullAlph.Length; ++i)
                {
                    if (EngFullAlph[i] == inChar)
                    {
                        return(i);
                    }
                }

                break;

            case E_Language.RussianFull:
                for (int i = 0; i < RusFullAlph.Length; ++i)
                {
                    if (RusFullAlph[i] == inChar)
                    {
                        return(i);
                    }
                }
                break;
            }

            return(-1);
        }
Exemplo n.º 12
0
    public void DeleteSavedGame()   //저장된 게임 지워버리기.
    {
#if UNITY_ANDROID
        st        = null;
        savedDate = null;
        savedGame = false;
        savedLang = E_Language.KOREAN;
        // if (!IsThereSavedGame()) return;

        if (false == PlayGamesPlatform.Instance.localUser.authenticated)
        {
            PlayGamesClientConfiguration config = new PlayGamesClientConfiguration.Builder().EnableSavedGames().Build();
            PlayGamesPlatform.InitializeInstance(config);
            PlayGamesPlatform.DebugLogEnabled = true;
            PlayGamesPlatform.Activate();
            Social.localUser.Authenticate((bool success, string msg) =>
            {
                if (false == success)
                {
                    Debug.Log("딜리트 실패 - 로그인 불가");
                    //   return;
                }
            });
        }

        ISavedGameClient saveClient = PlayGamesPlatform.Instance.SavedGame;
        saveClient.OpenWithAutomaticConflictResolution(Constant.saveFileNameInGPGSCloud, DataSource.ReadCacheOrNetwork, ConflictResolutionStrategy.UseMostRecentlySaved, (status, metaData) =>
        {
            if (status != SavedGameRequestStatus.Success)
            {
                Debug.Log("삭제 실패 - 메타데이타 오픈 불가");
                // return;
            }
            else
            {
                saveClient.Delete(metaData);
            }
        });
        return;
#else
        File.Delete(Constant.saveDataAllPath);
#endif
    }
Exemplo n.º 13
0
        public static char GetCharFromNum(int inNum, E_Language inLanguage)
        {
            if (inNum >= 0)
            {
                switch (inLanguage)
                {
                case E_Language.English:
                    if (inNum < EngAlph.Length)
                    {
                        return(EngAlph[inNum]);
                    }

                    break;

                case E_Language.Russian:
                    if (inNum < RusAlph.Length)
                    {
                        return(RusAlph[inNum]);
                    }
                    break;

                case E_Language.EnglishFull:
                    if (inNum < EngFullAlph.Length)
                    {
                        return(EngFullAlph[inNum]);
                    }
                    break;

                case E_Language.RussianFull:
                    if (inNum < RusFullAlph.Length)
                    {
                        return(RusFullAlph[inNum]);
                    }
                    break;
                }
            }

            return('\0');
        }
    public void LanguageSetting()
    {
        uigtDic.Clear();
        E_Language lang = LanguageManager.GetInstance().Language;

        for (int i = 0; i < uigt.dataArray.Length; i++)
        {
            string btnText = "";
            switch (lang)
            {
            case E_Language.KOREAN:
                btnText = uigt.dataArray[i].Kor;
                break;

            case E_Language.ENGLISH:
                btnText = uigt.dataArray[i].Eng;
                break;
            }
            string key = MakeUIGTKey(uigt.dataArray[i].Uiname, uigt.dataArray[i].Uigeneraltextkeyname);
            uigtDic.Add(key, btnText);
        }
    }
Exemplo n.º 15
0
        public XI18NMgr(IVFS _vfs)
        {
            mVFS    = _vfs;
            mConfig = Config.GetTinaXConfig <I18NConfig>(ConfigPath.i18n);
            if (mConfig == null)
            {
                mEnable = false;
                return;
            }
            mEnable = mConfig.EnbaleI18N;
            if (!mEnable)
            {
                return;
            }
            mCurSystemLanguage = GetLanguageByUnityLanguage(Application.systemLanguage);
            string _region = "none";

            if (mConfig.defaultRegion != null && mConfig.defaultRegion != "")
            {
                _region = mConfig.defaultRegion;
            }
            if (mConfig.autoMatch)
            {
                foreach (var item in mConfig.Regions)
                {
                    if (item.language_bind == mCurSystemLanguage)
                    {
                        _region = item.region_name;
                    }
                }
            }
            if (_region != "none")
            {
                mCurRegion = _region;
                UseRegion(mCurRegion);
            }
        }
Exemplo n.º 16
0
    public void SavePrepare()
    {
        lang  = LanguageManager.GetInstance().Language;
        golds = GoldManager.GetInstance().Gold;
        goldRunOutContinuityDays = GameEndJudgeManager.GetInstance().GoldRunOutContinuityDays;
        threatMaxContinuityDays  = GameEndJudgeManager.GetInstance().ThreatMaxContinuityDays;
        savedDate = InGameTimeManager.GetInstance().GetNowTime();

        charactorList_Client = CharactorManager.GetInstance().GetClientListSave();
        charactorList_Hunter = CharactorManager.GetInstance().GetHunterListSave();

        questDic          = QuestManager.GetInstance().QuestDic;
        inventoryMobEvi   = Inventory.GetInstance().MobEvidenceInven;
        inventoryWeapon   = Inventory.GetInstance().GetWeaponInvenSave();
        threatState       = WholeMonsterRiskManager.GetInstance().MonsterRiskList;
        threatHunters     = WholeMonsterRiskManager.GetInstance().HuntersWhohaveQuest;
        phaseMobShowedUp  = PhaseManager.GetInstance().MobShowedUp;
        phaseMobOpen      = PhaseManager.GetInstance().MobOpen;
        phaseEvidenceOpen = PhaseManager.GetInstance().EvidenceOpen;
        phaseUpgradeOpen  = PhaseManager.GetInstance().UpgradeOpen;
        phaseInteriorOpen = PhaseManager.GetInstance().InteriorOpen;

        distributedNames = TextManager.GetInstance().DistributedNames;
    }
    void Init()
    {
        selected = null;
        mpDic.Clear();

        buyBtn.interactable = false;
        nowGold             = GoldManager.GetInstance().Gold;
        nowGoldTxt.text     = nowGold.ToString();

        int miCount = (int)E_Paper.MAX;

        nowLang = LanguageManager.GetInstance().Language;

        List <E_Monster>  opendMob = PhaseManager.GetInstance().GetOpendMobDataList();
        List <E_Evidence> opendEvi = PhaseManager.GetInstance().GetOpendEviDataList();

        for (int i = 1; i < miCount; i++)
        {
            int    dataArrIdx = i - 1;
            string name       = "";
            string comment    = "";

            int price = merchantPaperSheet.dataArray[dataArrIdx].Price;
            switch (nowLang)
            {
            case E_Language.KOREAN:
                name    = merchantPaperSheet.dataArray[dataArrIdx].Namekor;
                comment = merchantPaperSheet.dataArray[dataArrIdx].Mpcmtkor;
                break;

            case E_Language.ENGLISH:
                name    = merchantPaperSheet.dataArray[dataArrIdx].Nameeng;
                comment = merchantPaperSheet.dataArray[dataArrIdx].Mpcmteng;
                break;
            }

            int num = i;

            GameObject btn = Instantiate(buyPaperBtn, buyPaperContent.transform);

            btn.GetComponent <Button>().onClick.AddListener(
                () =>
            {
                AudioThing.GetInstance().PlaySFX(AudioThing.E_SFX.CLICK);
                SelectPaper(num);
            }

                );
            mpDic.Add(num, new mpBtn((E_Paper)i, btn, name, price, comment));

            SetTxtsPaperBtn(btn, price, name, (E_Paper)i);


            if (i <= ((int)E_Monster.MAX) - 1)       //몬스터 허가증인 경우
            {
                if (opendMob.Contains((E_Monster)i)) //이미 허가증을 얻은 몬스터면
                {
                    btn.GetComponent <Button>().interactable = false;
                }
            }
            else
            {
                int eviNum = i - (((int)E_Monster.MAX) - 1);

                //증거품 허가증인경우
                if (opendEvi.Contains((E_Evidence)eviNum))    //이미 허가증을 얻은 몬스터면
                {
                    btn.GetComponent <Button>().interactable = false;
                }
            }
        }

        ShowDefaultComment();
        GoldAdjustShow(0);
    }
Exemplo n.º 18
0
    public void Init()
    {
        if (false == PlayGamesPlatform.Instance.localUser.authenticated)
        {
            PlayGamesClientConfiguration config = new PlayGamesClientConfiguration.Builder().EnableSavedGames().Build();
            PlayGamesPlatform.InitializeInstance(config);
            PlayGamesPlatform.DebugLogEnabled = true;
            PlayGamesPlatform.Activate();
            Social.localUser.Authenticate((bool success, string msg) =>
            {
                if (false == success)
                {
                    Debug.Log(" 실패 - 로그인 불가");
                    return;
                }
            });
        }
        st        = null;
        savedGame = false;
        savedDate = null;
        savedLang = E_Language.ENGLISH;


        ISavedGameClient saveClient = PlayGamesPlatform.Instance.SavedGame;
        object           n          = new object();

        lock (n)
        {
            saveClient.OpenWithAutomaticConflictResolution(Constant.saveFileNameInGPGSCloud, DataSource.ReadCacheOrNetwork, ConflictResolutionStrategy.UseMostRecentlySaved, (status, metaData) =>
            {
                if (status == SavedGameRequestStatus.Success)
                {
                    Debug.Log("세이브매니저 이닛 - 게임 오픈 성공");
                    saveClient.ReadBinaryData(metaData, (readStatus, savedByteArr) =>
                    {
                        if (readStatus == SavedGameRequestStatus.Success)
                        {
                            Debug.Log("세이브매니저 이닛 - 게임 읽어오기 성공");
                            if (savedByteArr.Length == 0)
                            {
                                Debug.Log("세이브매니저 이닛 - 게임 읽어오기 성공 - 바이트 데이타 길이가 0 이라서 빠져나감.");
                                savedGame = false;
                                savedDate = null;
                                savedLang = E_Language.ENGLISH;
                                GameManager.GetInstance().SendMessage("saveInitDone");
                                return;
                            }
                            BinaryFormatter bt = new BinaryFormatter();
                            MemoryStream ms    = new MemoryStream(savedByteArr);
                            st = bt.Deserialize(ms) as SaveStructure;
                            if (st != null)
                            {
                                savedGame = true;
                                savedDate = InGameTime.DeepCopy(st.savedDate);
                                savedLang = st.lang;
                                Debug.Log("세이브매니저 이닛 - 게임 읽어오기 저장한 애 읽어오기 까지 성공 저장날짜=" + savedDate + "저장 언어" + savedLang);
                                GameManager.GetInstance().SendMessage("saveInitDone");
                            }
                            else
                            {
                                Debug.Log("세이브매니저 이닛 - 게임 읽어오기 저장한 애 읽어오기에서 실패");
                                savedGame = false;
                                savedDate = null;
                                savedLang = E_Language.ENGLISH;
                                GameManager.GetInstance().SendMessage("saveInitDone");
                            }
                            ms.Dispose();
                            ms.Close();
                        }
                        else
                        {
                            savedGame = false;
                            savedDate = null;
                            savedLang = E_Language.ENGLISH;
                            Debug.Log("세이브매니저 이닛 - 게임 읽어오기자체가 실패");
                            GameManager.GetInstance().SendMessage("saveInitDone");
                        }
                    });
                }
            });
        }
    }
Exemplo n.º 19
0
    public void SaveGame()
    {
        SaveStructure saveST = new SaveStructure();

        saveST.SavePrepare();
#if UNITY_ANDROID
        if (false == PlayGamesPlatform.Instance.localUser.authenticated)
        {
            PlayGamesClientConfiguration config = new PlayGamesClientConfiguration.Builder().EnableSavedGames().Build();
            PlayGamesPlatform.InitializeInstance(config);
            PlayGamesPlatform.DebugLogEnabled = true;
            PlayGamesPlatform.Activate();
            Social.localUser.Authenticate((bool success, string msg) =>
            {
                if (false == success)
                {
                    Debug.Log("저장 실패 - 로그인 불가");
                    return;
                }
            });
        }
        Debug.Log("로그인 돼있음");
        BinaryFormatter bt = new BinaryFormatter();
        MemoryStream    ms = new MemoryStream();
        bt.Serialize(ms, saveST);
        byte[] savingData = ms.ToArray();
        Debug.Log("시리얼라이즈 - 현재 세이빙 데이타 랭쓰" + savingData.Length);
        ms.Dispose();
        ms.Close();
        Debug.Log("시리얼라이즈 완료 , 스트림 클로즈 후 " + savingData.Length);
        ISavedGameClient saveClient = PlayGamesPlatform.Instance.SavedGame;


        saveClient.OpenWithAutomaticConflictResolution(Constant.saveFileNameInGPGSCloud, DataSource.ReadCacheOrNetwork, ConflictResolutionStrategy.UseMostRecentlySaved, (status, metaData) =>
        {
            if (status != SavedGameRequestStatus.Success)
            {
                Debug.Log("저장 실패 - 메타데이타 오픈 불가");
                return;
            }
            Debug.Log("메타데이타 오픈.");

            SavedGameMetadataUpdate updatedMetaData = new SavedGameMetadataUpdate.Builder().WithUpdatedDescription(DateTime.Now + "at saved").Build();
            Debug.Log("저장 준비- 현재 세이빙데이타 렝쓰 " + savingData.Length);
            saveClient.CommitUpdate(metaData, updatedMetaData, savingData, (saveStatus, newMetaData) =>
            {
                if (status != SavedGameRequestStatus.Success)
                {
                    Debug.Log("저장 실패 - 저장이 불가");
                    //    return;
                }
                else
                {
                    st        = saveST;
                    savedLang = saveST.lang;
                    savedGame = true;
                    savedDate = InGameTime.DeepCopy(saveST.savedDate);
                    Debug.Log("저장 성공");
                }
            });
        });
#else
        BinaryFormatter bt   = new BinaryFormatter();
        FileStream      file = File.Create(Constant.saveDataAllPath);
        bt.Serialize(file, saveST);
        file.Close();
#endif
    }