Question : unity ui change sprite
Answered by : boris-krischel
// TO change the sprite of an UI image, se below
GameObject.GetComponent<Image>().sprite = sprite;
Source : | Last Update : Sun, 01 Mar 20
Answered by : boris-krischel
// TO change the sprite of an UI image, se below
GameObject.GetComponent<Image>().sprite = sprite;
Source : | Last Update : Sun, 01 Mar 20