In my intro scene I have built a settingspanel for the user to be able to set what language they want to have on my app for iOS. The state machine works like this:
Start - State 1. "Touch GUI Event" x 3. Transitions onTouchSwedish onTouchEnglish onTouchGerman. The transitions lead to 3 separate states, Swedish, English and German. In those states I use "Set GUI Text" on another GUI Text object and then it has FINISHED and transitions back to State 1 in order to be able to switch again. I had to put in a wait for 0.1 in the language states since otherwise it didn't transition back through FINISHED to state 1.
What I am struggling now with is how I will go about to "save" the chosen language setting and "pick it up" in other scenes. When I go in to another scene I already have an FSM in their playing audio and text as if it was a cartoon with narrative voice and subtitles. However I need to make the FSM know what language it should write the subtitles in and what language the voice should be in. So how do I save it and pick it up in an other scene?
As far as I understand it I should use Player Prefs. Thats about as far as I have gotten
Please help me, Im really the super noob here