unity load sprite from file code example
Example: load an image sprite script unity
void Start()
{
spriteArray = Resources.LoadAll("BirdHeroSprite");
}
void Start()
{
spriteArray = Resources.LoadAll("BirdHeroSprite");
}