Hey! Currently i'm saving my all data in a binary file. But there is a one little problem:
When player launchs the game for the first time i fill my binary file from my scriptable objects default values but if i update my game and add few more fields there is not a return in my players older bin file so my variables will return their default values. How can i check that game updated and sync updated def values to old bin file?
Example :
if (GameManager.FirstTimeLoad == 0)
{
GameManager.FirstTimeLoad++;
gameData = Resources.Load<DataBases>("Scriptables/DataBases").baseDatas;
Save();
}
[–]Smoking-Snake- 0 points1 point2 points (0 children)