Question by
fluxhackspro · Aug 30, 2017 at 07:42 AM ·
playerprefssaveload
Save and load component values
I know the normal way to save values in Unity, but i cant seem to find a way to use playerPrefs to save and load component values.
I have a Image component on a UI object. And i want to save the selected sprite that is attached to the image component. Can someone help me with this problem? Anything would be helpful ~Flux
Comment
You really shouldn't save Sprites... I promise, there isn't an easy way to do it. Can you explain to us why you need it saved and how you are setting it in the first place?
Your answer
![](https://koobas.hobune.stream/wayback/20220612133835im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
standard anti memory hack load save data using playerprefs 0 Answers
create store database class for RTS games 0 Answers
Save/load not work on mobile phone 1 Answer
PlayerPrefs saving and Loading 2 Answers