public LocalSaveData Create()
        {
            SaveData = new LocalSaveData();
            Debug.Log("Created New Save Data");

            return(SaveData);
        }
 public LocalSaveData ClearData()
 {
     SaveData = null;
     SaveData = new LocalSaveData();
     Debug.Log("Cleared data");
     Save();
     return(SaveData);
 }
        void OnEnable()
        {
            SaveData = Load() ?? Create();

            //incrementing the number of app sessions the moment local data manager is loaded
            SaveData.LocalSessions++;

            //reference to hold the internet connection status
            InternetReachabilityVerifier.Instance.statusChangedDelegate += OnNetworkStatusChange;

            //Test premium user - this has no effect in release builds
            if (BaseSettings.Instance.IsDebugBuild)
            {
                SaveData.SetPremiumUser(BaseSettings.Instance.IsPremiumUser);
            }
        }