how to keep bool true after runtime unity code example
Example: how to keep bool true after runtime unity
if(PlayerPrefs.HasKey("ShipUnlocked"){ shipUnlocked == PlayerPrefs["ShipUnlocked"] if(shipUnlocked ==1) //then the ship was unlocked previously` }