I need to save a bool and a float using PlayerPrefs. How can I do that?
You can use the typeof() and based on the result write to PlayerPrefs with corresponding Set functions. If you want to write to same PlayerPrefs value, you are stuck, since it does not support object type. In that case you have to convert your value back and fourth to a string type
EDIT: I see now you want to save arrays. Then JSON or XML is your friend, but consider saving using UI class instead then, since PlayerPrefs may not support huge arrays converted to string
@OneCept-Games Could you give me a code example for saving a bool? It doesn’t have to use PlayerPrefs specifically.