Hi, sometimes I need to disable save-load system, but Unity automatically load last values and assign them to serializable variables. How can I disable it?
Almost no information to go on here, but perhaps look up the NonSerializable attribute, if that is your issue.
I have a class like that:
[System.Serializable]
public class SaveData {
public int row;
public int col;
}
I dont have any other code for save these values, but when I change them in game, Unity save them automatically.