CanvasShadowProjector Class
Extends MonoBehaviour
Projects a shadow object to the floor below a canvas panel.
Automatically positions the shadow on the floor plane directly below the target, with a slight offset to avoid z-fighting.
Usage:
Attach this script to your shadow GameObject
Assign the canvas panel as the target (or leave empty to use parent)
Set floor Y level and offset
Shadow will automatically follow the panel's horizontal position