private void LoginAndImport(AssetStoreAsset asset)
 {
     // ISSUE: object of a compiler-generated type is created
     // ISSUE: reference to a compiler-generated method
     AssetStoreLoginWindow.Login("Please login to the Asset Store in order to get download information for the package.", new AssetStoreLoginWindow.LoginCallback(new AssetStoreAssetInspector.\u003CLoginAndImport\u003Ec__AnonStorey82()
     {
         asset = asset
     }.\u003C\u003Em__140));
 }
 private void LoginAndInitiateBuySelected()
 {
     AssetStoreLoginWindow.Login("Please login to the Asset Store in order to get payment information about the package.", (AssetStoreLoginWindow.LoginCallback)(errorMessage =>
     {
         if (errorMessage != null)
         {
             return;
         }
         AssetStoreAssetSelection.RefreshFromServer((AssetStoreAssetSelection.AssetsRefreshed)(() => this.InitiateBuySelected(false)));
     }));
 }
Beispiel #3
0
 private void LoginAndImport(AssetStoreAsset asset)
 {
     AssetStoreLoginWindow.Login("Please login to the Asset Store in order to get download information for the package.", delegate(string errorMessage)
     {
         if (errorMessage == null)
         {
             AssetStoreAssetSelection.RefreshFromServer(delegate
             {
                 AssetStoreInstaBuyWindow.ShowAssetStoreInstaBuyWindowBuilding(asset);
             });
         }
     });
 }
Beispiel #4
0
 private void LoginAndInitiateBuySelected()
 {
     AssetStoreLoginWindow.Login("Please login to the Asset Store in order to get payment information about the package.", delegate(string errorMessage)
     {
         if (errorMessage == null)
         {
             AssetStoreAssetSelection.RefreshFromServer(delegate
             {
                 this.InitiateBuySelected(false);
             });
         }
     });
 }
Beispiel #5
0
 public static void HandleNoSession(string displayName)
 {
     UploadingBuildsMonitor.Activate();
     AssetStoreLoginWindow.Login(UploadingBuildsMonitor.s_Content.m_NoSessionDialogText.text, delegate(string errorMessage)
     {
         if (string.IsNullOrEmpty(errorMessage))
         {
             UploadingBuildsUtility.ResumeBuildUpload(displayName);
         }
         else
         {
             UploadingBuildsUtility.RemoveUploadingBuild(displayName);
         }
     });
 }