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,


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!