PlayerPref/PlayerPrefsX why not able to store boolean values?

Hi,

I am wondering why playerPref and the extended version of it

http://www.unifycommunity.com/wiki/index.php?title=ArrayPrefs

do not provide a way to get and set boolean values. while not difficult to code, I am wondering if I am not missing something, maybe it's easy to convert boolean to int or something like that, so storing boolean value is possible.

thanks for your help,

Jean

1 Answer

1

d'oh, it's right below the arrayPrefs in the main listing of scripts

http://www.unifycommunity.com/wiki/index.php?title=Scripts

http://www.unifycommunity.com/wiki/index.php?title=BoolPrefs