1
This commit is contained in:
@@ -50,6 +50,8 @@ namespace BITKit
|
||||
remove => ApplicationService.OnDownloadComplete -= value;
|
||||
}
|
||||
|
||||
public event Action OnDetectedLatestVersion;
|
||||
|
||||
public UniTask<string> DownloadLatestVersionAsync()
|
||||
{
|
||||
return _applicationServiceImplementation.DownloadLatestVersionAsync();
|
||||
@@ -104,6 +106,12 @@ namespace BITKit
|
||||
remove => OnDownloadComplete -= value;
|
||||
}
|
||||
|
||||
public event Action OnDetectedLatestVersion
|
||||
{
|
||||
add => Singleton.OnDetectedLatestVersion += value;
|
||||
remove => Singleton.OnDetectedLatestVersion -= value;
|
||||
}
|
||||
|
||||
private UnityWebRequest downloadRequest;
|
||||
|
||||
private CancellationTokenSource _cancellationTokenSource;
|
||||
|
Reference in New Issue
Block a user