Heat fix by fps cap
This commit is contained in:
@@ -30,6 +30,9 @@ namespace Darkmatter.Features.AppBoot.Flow
|
|||||||
|
|
||||||
public async UniTask StartAsync(CancellationToken cancellation = default)
|
public async UniTask StartAsync(CancellationToken cancellation = default)
|
||||||
{
|
{
|
||||||
|
#if UNITY_ANDROID || UNITY_IOS
|
||||||
|
Application.targetFrameRate = 60;
|
||||||
|
#endif
|
||||||
Screen.sleepTimeout = SleepTimeout.NeverSleep;
|
Screen.sleepTimeout = SleepTimeout.NeverSleep;
|
||||||
await _progression.LoadAsync();
|
await _progression.LoadAsync();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user