I dont know why but my volume always starts on 0 pls help
Hi MythMaster,
Unfortunately, without any additional information, I can only guess what might be happening in your project. I assume that the problem is caused by PlayerPrefs.GetFloat, which returns 0f if the key does not exist in the PlayerPrefs. Pass on 1f as the second argument.
Did this fix it?
See also:
- Unity API: PlayerPrefs.GetFloat
- Forum User Guides : How to mark a topic as solved
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.