Пример #1
0
    public void ExecuteCloudLoad()
    {
        PlatformSaveUtil.ShowLoadProgressPopup();

        var remoteSaveDict = PlatformSaveUtil.DeserializeSaveData(File.ReadAllBytes(RemoteSaveFileForEditor));

        PlatformSaveUtil.LoadDataAndLoadSplashScene(remoteSaveDict);
    }
Пример #2
0
    public void ExecuteCloudLoad()
    {
        platformSaveUtil.ShowLoadProgressPopup();

        // GetCloudLastSavedMetadataAsync()의 첫 번째 인자가 null이면
        // 게임 데이터 로드로 작동한다.
        GetCloudLastSavedMetadataAsync(null);
    }
Пример #3
0
    public void ExecuteCloudLoad()
    {
#if !NO_GPGS
        PlatformSaveUtil.ShowLoadProgressPopup();

        var savedGameClient = PlayGamesPlatform.Instance.SavedGame;
        if (savedGameClient != null)
        {
            Open(savedGameClient,
                 true,
                 OnSavedGameOpenedAndReadConflictResolve,
                 OnSavedGameOpenedAndRead);
        }
        else
        {
            // handle error
            PlatformSaveUtil.ShowLoadErrorPopup("OnClick_cloudSave: savedGameClient null");
            BalloonLogManager.Add(BalloonLogEntry.Type.GameCloudLoadFailure, 0, 2);
        }
#endif
    }