Пример #1
0
 static ReqVerPair CreateReqVerPair(UnityWebRequest request, int version, bool save = false)
 {
     if (save)
     {
         PlayerPrefs.SetInt(ManifestVersionKey, version);
         PlayerPrefs.SetString(ManifestETagKey, request.GetETag());
     }
     return(new ReqVerPair(request, version));
 }