Hey Declan,
The game states aren't Monobehaviours, so they aren't going to exist
as components in the scene. DontDestroyOnLoad would only apply to
objects or components in a scene. Your states are stored in the
dictionary, and should be preserved as long as the GameManager exists.
I don't see any information stored in the PlayingGameState class
though... Are you changing scene while swapping states? That would
wipe your scene when you change, and when you change back it would
load the scene from the start.
Ronan
On Jun 10, 11:14 am, "Declan \"scoby\" Costello" <
dec...@tanigen.com>
wrote:
> PlayingGameStatehttp://
pastebin.com/bVUCkwGr