Remove json file
-
Hello everyone I have a small question, how do you remove json file using script? , I use json file to store key color and key transpose, but I want to give an option to delete that, how can I achieve that?
-
@fmented You might not be able to delete the files but you can populate/empty their object using
Engine.dumpAsJSON(var object, String fileName);
andEngine.loadFromJSON(String fileName);
-
@ustk yeah that's what I come up with, I listed their name on separate object to call the actual objects, thanks man. I thought there was a way to delete files directly.