运行代码清理方案
This commit is contained in:
parent
29a8705ef8
commit
1a6d931672
@ -1,10 +1,5 @@
|
|||||||
using System;
|
using System.Collections.Generic;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Reflection;
|
|
||||||
using System.Text;
|
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using VersionFlow.Runtime;
|
using VersionFlow.Runtime;
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
using System;
|
using System.Collections.Generic;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
using System;
|
using UnityEditor;
|
||||||
using UnityEditor;
|
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using VersionFlow.Runtime;
|
using VersionFlow.Runtime;
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,6 @@ using System.Diagnostics;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.AI;
|
|
||||||
using UnityEngine.Assertions;
|
using UnityEngine.Assertions;
|
||||||
using UnityEngine.Networking;
|
using UnityEngine.Networking;
|
||||||
using Object = UnityEngine.Object;
|
using Object = UnityEngine.Object;
|
||||||
|
|||||||
@ -1,7 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace VersionFlow.Runtime
|
namespace VersionFlow.Runtime
|
||||||
{
|
{
|
||||||
@ -11,7 +8,7 @@ namespace VersionFlow.Runtime
|
|||||||
void ShowDownloadProgress(ulong downloadBytes, ulong totalBytes);
|
void ShowDownloadProgress(ulong downloadBytes, ulong totalBytes);
|
||||||
void HideDownloadProgress();
|
void HideDownloadProgress();
|
||||||
void DownloadConfirm(ulong totalSize, Action<bool> confirm);
|
void DownloadConfirm(ulong totalSize, Action<bool> confirm);
|
||||||
void OnError(string msg, string btnTxt, Action callback,string title = "错误");
|
void OnError(string msg, string btnTxt, Action callback, string title = "错误");
|
||||||
void SetVersion(string localVer, string remoteVer);
|
void SetVersion(string localVer, string remoteVer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,8 +2,6 @@
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace VersionFlow.Runtime
|
namespace VersionFlow.Runtime
|
||||||
@ -119,7 +117,8 @@ namespace VersionFlow.Runtime
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (m_downloadingAB.IsDownloading)
|
if (m_downloadingAB.IsDownloading)
|
||||||
yield return new WaitUntil(() => {
|
yield return new WaitUntil(() =>
|
||||||
|
{
|
||||||
return !m_downloadingAB.IsDownloading;
|
return !m_downloadingAB.IsDownloading;
|
||||||
});
|
});
|
||||||
else
|
else
|
||||||
|
|||||||
@ -1,9 +1,4 @@
|
|||||||
using System;
|
using UnityEngine;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace VersionFlow.Runtime
|
namespace VersionFlow.Runtime
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace VersionFlow.Runtime
|
namespace VersionFlow.Runtime
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user