If I have a class and I make it Serializable because I want to save the state. How do I get that state back?
[Serializable]
public class MyObject
{
public int a = 5;
}
Related post where I learned about Serialization What is [Serializable] and when should I use it?