How do i make an Image flash 2 colors,
so want making a warning effect that flashes red and black however it seem that i can't do that
please help me,
Answer by tormentoarmagedoom · Mar 04, 2020 at 04:10 PM
Hello.
Its quite simple.
Just need to create a canvas with an image full red or white, and change its alpha value (4th component of a color is the alpha, the transparency.
There is a component called CanvasGroup, which is very usefull for this. It changes the alpha value of everything inside the canvas. You just need to increase / decrease the value via code.
Investigate about all this things, its not difficult.
Good luck!
Your answer
Follow this Question
Related Questions
Changing particle colour (alpha) at runtime 1 Answer
How can i get an unique color to each object? 0 Answers
change color when have content 0 Answers
Sprite not properly updating color 0 Answers
How to change texture color distance based (like in minecraft, but instead of biomes with distance)? 0 Answers