![]() ![]() PlayerPrefs are relatively easy to implement and require only a few lines of code, but they only support Float, Int and String-type values, making it challenging to serialize large, complex objects. Because of their ease of access, they aren’t safe from users who wish to open and modify them, and they can be deleted by accident since they’re saved outside of the project and managed by your OS. The stored data is in simple key-value pairs. The exact location varies depending on your operating system, but it’s usually somewhere that’s globally accessible and managed by your OS. PlayerPrefs are stored somewhere on your device, separate from your project. You can use PlayerPrefs to store a player’s preferences between sessions, such as quality settings, audio volume or other non-essential data. However, they’re useful, so we’ll discuss them. PlayerPrefs are not made to save game states.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |