예제 #1
0
    private void GenerateJson()
    {
        bestAnimalDataJson = bestAnimalData.SerializeData();
        string json = JsonUtility.ToJson(this);

        System.IO.File.WriteAllText(DatabaseHandler.jsonPath, json);
    }