To apply a cookie to a Light in Unity, assign a texture to the Cookie field of a Light component.
Cookies may support different features depending on the render pipeline you are using.