/// <summary> /// Extract database file /// </summary> private IEnumerator ExtractDatabase() { if (!FileManager.Exists(Configuration.Properties.DatabasePath)) { FileManager.Copy(Configuration.Properties.DatabaseStreamingAssetsPath, Configuration.Properties.DatabasePath); PlayerPrefsController.DeleteAll(); } databaseExists = true; yield return(null); }
//Delete PlayerPrefs public void DeleteData() { PlayerPrefsController.DeleteAll(); }