- Home /
Question by
sokolllll89 · Feb 26, 2020 at 07:27 PM ·
savesave datacodepagesaveload
Tell me how to open these files on android
Tell me how to open these files on android
public void Loads(){
if(File.Exists(Application.dataPath + "/Resources/savesLevel/level" + lvl + ".sv")){
FileStream fs = new FileStream(Application.dataPath + "/Resources/savesLevel/level" + lvl + ".sv", FileMode.Open);
BinaryFormatter formatter = new BinaryFormatter();
try{
SaveLevels.Possition pos = (SaveLevels.Possition)formatter.Deserialize(fs);
....
Comment