This is the script for the upgrade screen which will turn on and off the canvas when you press any key once you beat an area.
This is the game manager script where it gets the Boolean from the previous script and says if it is true then enable the power up and enable the canvas and once you press any key it closes it.
These screens will show up once you beat an area so that the player knows what the power-up is and how to use it.
This is the fixed version for the Upgrade Screen script as I noticed it didn’t work correctly but it now works.
Barrier Shader
I used a shader graph to make the barrier shader.
Here is what that Shader looks like on the barriers.
I decided to bake the lighting as I was about to create a playtest build of the game so I wanted to make it look as good as I could for the time being.
Added emission to the targets, might change the colour later. Made new material for the yellow barriers as they needed to change to the new barrier shader material.