A
A
a16a2017-04-09 09:46:19
C++ / C#
a16a, 2017-04-09 09:46:19

How to replace image in unity?

Hello.
Is ui image I want that at event the picture was replaced. How to do it? With others it was easier (text) but here I don’t know.
.img1.GetComponent<Image>().

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Deerenaros, 2017-04-09
@a16a

ui.image.sprite

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question