Answers for "unity ui change sprite"

C#
4

unity ui change sprite

// TO change the sprite of an UI image, se below
GameObject.GetComponent<Image>().sprite = sprite;
Posted by: Guest on February-23-2020

Code answers related to "unity ui change sprite"

C# Answers by Framework

Browse Popular Code Answers by Language