S
S
Sergey Panov2018-07-13 17:06:46
Unity
Sergey Panov, 2018-07-13 17:06:46

How to reduce the alpha channel of an image in Update?

Good day friends, I need to decrease the alpha value of the Image object in the Update method in 2 seconds.
To make the Image object completely transparent after 2 seconds.
Please tell me how to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daniil Basmanov, 2018-07-13
@select8

The easiest way is to use CrossFadeAlpha . But tweeners are, of course, more flexible and more convenient to use. You can try DOTween first .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question