Esempio n. 1
0
 public static bool Fetch(ProductInfo productInfo)
 {
     if (productInfo)
     {
         var build = VersionService.Fetch(
             productInfo.Identifier,
             productInfo.GetComponent <PlatformSettingsPrefab>().Platform.ToString()
             );
         if (build != -1)
         {
             productInfo.Build = build;
             EditorUtility.SetDirty(productInfo);
             return(true);
         }
     }
     return(false);
 }