I tried to change source image of an image Object in Unity from code.
I tried using resources.load but it returned none. How to do it properly?
Code I tried is
myImage.sprite = Resources.Load(newImageTitle);
This code doesn't go in my start function but on an onclick function of a button. I also tried as Sprite instead of