- Home /
How to gradually transition between sprites?
I'm trying to achieve the effect of dashboard fuel light slowly turning on and then fading. I have two sprites, one for off state, one for on state, how can I gradually transition between them?
Maybe this effect can be achieved in some better way (like changing sprite color/material over time)?
Answer by Peaj · Jan 24, 2017 at 09:31 AM
You can place one of the sprites on top of the other and then change the alpha value of the sprites either via script or by just animating the Color in the animation window.
Your answer
![](https://koobas.hobune.stream/wayback/20220612105457im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Change the color of a section of a shape depending on the background/overlap 0 Answers
Help on colour! 1 Answer
Excluding certain children from a loop (changing parented children's colors on mouseover) 2 Answers
Specific colors change gradually as I keep playing on Android! 0 Answers
Changing color of 2D sprite distorts sprite shape also 0 Answers