How to delete file inside my script?

Hai Guys! Does anyone know how I can delete files from inside my game script? I’d like a delete save data option. I have tried FileUtil but apparently that’s a editor class only. :confused:

1 Answer

1

Use File.Delete(filepath);