Skip to content

Commit 58d9c4b

Browse files
committed
Fixed namespace for YandexGameStorageService
1 parent 911fda1 commit 58d9c4b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CrossPlatformPersistentProgress/Assets/PersistentModule/Implementations/Mobile/MobileGameStorageService.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ private TData LoadFromFile<TData>(string filePath, TData defaultData = default)
9595
Debug.LogError($"Error loading file at {filePath}: {e.Message}");
9696
}
9797

98+
//
99+
// На мобилках по сути нужно отправить реквест на отложенный сейв, сразу не стоить сейвить ото пзц будет
100+
//
98101
return defaultData;
99102
}
100103

CrossPlatformPersistentProgress/Assets/PersistentModule/Implementations/WebGL/YandexGameStorageService.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
using RimuruDev.PersistentModule.Core;
22
using RimuruDev.PersistentModule.Models;
3+
using RimuruDev.PersistentModule.Utils;
4+
5+
#if PLUGIN_YG_2 && UNITY_WEBGL
6+
using YG;
7+
#endif
38

49
namespace RimuruDev.PersistentModule.Implementations.WebGL
510
{

0 commit comments

Comments
 (0)