UnityEditor.ASHistoryWindow.DownloadFile C# (CSharp) Method

DownloadFile() private method

private DownloadFile ( ) : void
return void
        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);
                }
            }
        }