added animations
This commit is contained in:
1 parent
bae0e2218e
commit
8ea88f9aaf
3 files changed
+16
-6
No files matched your search
@@ -5,7 +5,7 @@ using UnityEngine;
|
||||
|
||||
namespace Code.Records
|
||||
{
|
||||
public class RecordsService
|
||||
public static class RecordsService
|
||||
{
|
||||
private const string Key = "RaceRecords";
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace Code.Records
|
||||
}
|
||||
}
|
||||
|
||||
public static void Save(List<Record> records)
|
||||
private static void Save(List<Record> records)
|
||||
{
|
||||
var json = JsonConvert.SerializeObject(records);
|
||||
PlayerPrefs.SetString(Key, json);
|
||||
|
||||
Reference in new issue
Block a user