#How do i Save bools from a scene to another in Unity
1 messages · Page 1 of 1 (latest)
- save bool to as playerprefs int (0 = false, 1 = true)
- load scene
- on scene start load the playerpref (make sure 2 convert from int to bool)
That seems like a lot for one bool
I'd just use DontDestroyOnload like Mikkel suggested. Most "manager" sort of scripts use DontDestroyOnLoad so the bool could be put in one of those anyways
funny enough saving it as a PlayerPref variable might be less "intensive" but in general that does not matter at a indie level