Hey I am new to using unity and I am using engine 2018.5f1. I want to know how would it be possible to make a simple colour transition from one color to another using a button that shows up on the screen.
And if possible I want to know if there would be a way to make the color start from bottom then spread it up to the top
Ps. Would it be possible to use mecanim?
Thanks! Help would be greatly appreciated
Regarding your question about having color spread so that it starts from the bottom. Yes it’s possible, but you need to probably create a shader that does it. Or find an existing shader. One way (although not perfect) is to use a gradient (grayscale) as the pattern, then you change the color using that gradient… Well, this is just a high level concept but it’s quite simple to implement. There are other ways that you could do this, too.
Thank you for your reply. Okay I will try both, starting with the easier one and I think that would be using shader, I guess. Can you provide me with a link that would help me get started with these two.
@knobblez
Thank you. Can lerping be used to start the color change from the bottom then travel upwards when I press a specific button or with a button that shows up on screen.