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); } } }