热更系统修改并测试
This commit is contained in:
@@ -6,6 +6,7 @@ public static class PatchEvent
|
||||
public static event Action<string> OnStatusUpdate;
|
||||
public static event Action<float> OnProgressUpdate;
|
||||
public static event Action<string> OnDownloadSizeUpdate;
|
||||
public static event Action OnClosePatchWindow;
|
||||
|
||||
public static void UpdateStatus(string status)
|
||||
{
|
||||
@@ -21,4 +22,8 @@ public static class PatchEvent
|
||||
{
|
||||
OnDownloadSizeUpdate?.Invoke(sizeText);
|
||||
}
|
||||
public static void ClosePatchWindow()
|
||||
{
|
||||
OnClosePatchWindow?.Invoke();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user