- Home /
Is PlayerPrefs efficient for mobile devices?
I want to develop my application for mobile but I am not sure if playerPrefs is the most efficient method in terms of both memory and game performance.
I quickly estimated and it looks like I may need in the range of 250-300 playerPref keys in the entirety of the game (which will be mostly running in the main scene).
Will this many playerPrefs bog down my performance and is there a more efficient method or should i have nothing to worry about?
Answer by lassade · Aug 19, 2016 at 03:20 AM
Check this article by PreviewLabs http://previewlabs.com/writing-playerprefs-fast/
Answer by JackTenSeven · Aug 19, 2016 at 05:55 AM
I also develop for IOS and am working on a resource management game. I use PP for almost all my variables that I want persisted, I haven't seen any performance decreases caused by PP's.
Your answer
Follow this Question
Related Questions
UI-based game memory and performance issue. 1 Answer
Memory Managmenet 1 Answer
Performance and memory 1 Answer
Reasonable heap alloc. per second and total ? 0 Answers
How do inactive game objects affect CPU and memory? 1 Answer