コード例 #1
0
        /// <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);
        }
コード例 #2
0
 //Delete PlayerPrefs
 public void DeleteData()
 {
     PlayerPrefsController.DeleteAll();
 }