- Home /
Loading and creating Sprites at runtime
I would like to create sprites at runtime from pngs in a folder. As I would like my folder to work with future mods/etc I don't want to have to set any properties in the unityeditor. I can load the images as Texture2D and the slice sprites from it, but this messes up resolution and aspect ration of the image. How can I import and slice an image to sprites at runtime?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612053956im_/https://answers.unity.com/themes/thub/images/avi.jpg)