WXGame/box1/Assets/Script/DataManager.cs
2024-11-05 18:15:49 +08:00

19 lines
316 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class DataManager
{
public static int Level
{
get
{
return PlayerPrefs.GetInt("Level");
}
set
{
PlayerPrefs.SetInt("Level",value);
}
}
}