Toggle SaveState

Hi,

I am having trouble figuring out how to create a bool type behavior with playerprefs.

I would like to be able to disable a gameobject and enable it with a button at a later time if the user wants to and have those functions saved between game sessions.

Any idea on how to accomplish this?

Thanks!

Sure, try 0 and 1 :slight_smile: with “SetInt” … hopefully makes ya smile on reflection.