Ad fixes and appsflyer
This commit is contained in:
@@ -103,6 +103,10 @@ public class ColorbookFlowController : IAsyncStartable, IDisposable
|
||||
|
||||
await ShowRewardedAdAsync(ct);
|
||||
|
||||
// Ad SDKs can resume the continuation on a background thread; the scene load below
|
||||
// must run on the Unity main thread. No-op when already there.
|
||||
await UniTask.SwitchToMainThread(ct);
|
||||
|
||||
var progress = new Progress<float>(p => _loadingScreen.SetProgress(p * 0.5f));
|
||||
var mappedProgress = new Progress<float>(p => _loadingScreen.SetProgress(0.5f + p * 0.25f));
|
||||
await _progression.SetLastOpenedAsync(templateId);
|
||||
|
||||
Reference in New Issue
Block a user