Correct me if I’m wrong, but the PlayerPref class is used for storing variables. Not whole Game Objects.
EZ Game Saver looks similar to what I need, however it saves the game state to the hard drive. I need to be able to hold a copy of the game state in RAM for short periods of time, and rapidly roll back to it during this period.
This is because I am using a Monte Carlo approach to my game’s AI. Speed of implementation is a necessity.
Apologies for being initially ambiguous. My other threads contained technical details about my implementation, but received no response. Therefor, this thread merely asked a simple question.