On the main menu of a racing game I'm working on, I'd like the player to be able to choose the type of race, amount of laps and other parameters for the race. I don't want to use playerprefs if I can avoid it, so I thought of this idea.
Start scene and spawn an empty game object prefab in the menu scene with an FSM on it called "_RaceSettings" that stores all the users selections before the next scene is loaded, use don't destroy on load to make _RaceSettings carry across to the next scene and have an FSM load the data from _RaceSettings at the start of the scene.
Upon quitting back to the menu scene, the menu would check that a _RaceSettings object is present and not spawn a new one if it is present.
Does that sound like it would work?
Thanks