DoRevertOnNextTick() private method

private DoRevertOnNextTick ( int changeset, string guid ) : void
changeset int
guid string
return void
示例#1
0
 private void DownloadFile()
 {
     if ((this.ChangeLogSelectionRev >= 0) && (this.m_ChangeLogSelectionGUID != string.Empty))
     {
         string[] textArray1 = new string[] { "Are you sure you want to download '", this.m_ChangeLogSelectionAssetName, "' from revision ", this.ChangeLogSelectionRev.ToString(), " and lose all changes?" };
         if (EditorUtility.DisplayDialog("Download file", string.Concat(textArray1), "Download", "Cancel"))
         {
             AssetServer.DoRevertOnNextTick(this.ChangeLogSelectionRev, this.m_ChangeLogSelectionGUID);
         }
     }
 }