In the lecture, the transparency script is attached to the Canopy tilemap object. This object also has a tilemap collider. Whenever the player enters the collider, all of the canopy fades.
However, preferably, I only want the actual section of the canopy the player is under to fade, so that other canopy tiles across the scene don’t fade out.
What would be a good way to go about this issue? Thanks!
Image: I don’t want the canopies to the left and bottom of the screen to fade out