How to get Access of image as sprit in scripts
Hello...
I have image in folder Assests/sprits named as local.png. So how can I replace the previous image to above image( Assests/sprits named as local.png. ) of button at runtime from script.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612150337im_/https://answers.unity.com/themes/thub/images/avi.jpg)