Exemple #1
0
    public void Save(string fileName)
    {
        JSONClass json = ToJSON();

        UtilScript.WriteJSONtoFile(Application.dataPath, fileName, json);
    }
 public void WriteArray()
 {
     UtilScript.WriteJSONtoFile(Application.dataPath, "SavedAsteroids.txt", asteroidArray);
 }