Heat fix by fps cap

This commit is contained in:
Savya Bikram Shah
2026-06-07 16:58:17 +05:45
parent f63c0c9d5e
commit 176d95ec6a

View File

@@ -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();