There’s no API method but you could trivially make a static method to do it.
You should be wrapping up your PlayerPrefs stuff in a static class anyway, just to keep it tidy:
Here’s an example of simple persistent loading/saving values using PlayerPrefs:
Useful for a relatively small number of simple values.
Never test floating point (float) quantities for equality / inequality. Here’s why:
https://starmanta.gitbooks.io/unitytipsredux/content/floating-point.html
“Think of [floating point] as JPEG of numbers.” - orionsyndrome on the Unity3D Forums
2 Likes