I looked around a bit and really couldn’t find anything that answers this, but how do i get a sprite from a prefab that is not instatiated to show on a UI Image?
A simple way to load a sprite into your game is to use the Resources.Load() method. Essentially you create a “Resources” folder in the route of your project folder and anything you store within there can be loaded using that method.
An example of the file structure would be:
-Root
–Resources
—Sprites
----UiImage.png
to get “UiImage. png” you would do the following :
Image.sprite = Resources.Load(Sprites/UiImage.png);
Hope that helps.