Ive been stuck on this for several hours and Im wondering if someone out there has a solution.
Basically, I want to be able to fade my canvas out a couple of seconds after it has been interacted with.
More specifically, its a health bar for my enemies. If the enemy hasnt been collided with for a couple of seconds the bar fades out after a few seconds. Once its hit it immediately turns back on. The bar is working great, but I just need control of the opacity via scripting.
There isnt a lot of info around on this, Im starting to wonder if its the best way to go about it.