Need to create boost meter ,after collection of coins need to increase a boost meter,
if a character didn’t collect the coins for more then 3 seconds need to decrease the boost meter .
any help please…
Need to create boost meter ,after collection of coins need to increase a boost meter,
if a character didn’t collect the coins for more then 3 seconds need to decrease the boost meter .
any help please…
Depends on what style you’re looking for. I use a cube with a colored shader on it for something similar. You just scale the cube in one direction, and fix it to the camera.(put it right in front of the camera, and parent it to the camera) You also have to disable it’s z-depth so other objects don’t clip through it. To do that you have to change the rendering order, I think it somewhere in “layers” maybe “rendering layers”?
@sirweeble : first thanks for your reply, actually i am looking onGui style ,the boost bar contains three colors the first half red,second half blue and final half green like that… after collection of coins increase a boost meter color in order red ,blue and green