PlayMaker Updates & Downloads > Share New Actions
PlayerPrefs extension
jeanfabre:
Hi Everyone,
Following a request, please find an extension of the PlayerPrefs system to accept more types:
* Int
* Float
* Bool
* Color
* Quaternion
* Rect
* Vector2
* Vector3
* String
https://hutonggames.fogbugz.com/default.asp?W1118
bye,
Jean
escpodgames:
Awesome!
TIGGYsmalls:
PlayerPrefs Set/Get Bool would be useful.
jeanfabre:
Hi,
Bool is available, sorry for not having properly listed what's available :)
bye,
Jean
TIGGYsmalls:
Ok, I've imported it in but I get these messages.
Assets/PlayMaker/PlayerPrefsx/PlayerPrefsxGetValue.cs(25,48): warning CS0219: The variable `key' is assigned but its value is never used
Assets/PlayMaker Custom Actions/PlayerPrefsx/PlayerPrefxSetValue.cs(23,48): warning CS0219: The variable `key' is assigned but its value is never used
And when I re-open Unity the Playmaker menu is gone. Do I need to put the scripts in the Playmaker folder that was already present?
Navigation
[0] Message Index
[#] Next page
Go to full version