hasPlayedCinematic not working

so I put in this code

public object CaptureState()
{
return hasplayedCinematic;
}

public void RestoreState(object state)
{
hasPlayedCinematic = (bool)state;
}

but this doesnt work somehow, can someone please help?

Is the interface implemented? Did you put print statements in those methods to confirm they’re getting called?

I did use ISaveable and I did check with print statements and i never received them.

I found out that I forgot to put the Saveable Entity Class on the object

3 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms