Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Question Scripted Polygon Shape for ShadowCaster2D

Discussion in '2D Experimental Preview' started by slonersoft, Sep 11, 2020.

  1. slonersoft

    slonersoft

    Joined:
    Feb 7, 2015
    Posts:
    11
    Is there a way to generate a polygon shape for a ShadowCaster2D? All the auto-generated shadow casters I've found use a prefab with a box. I've got some odd code-generated shapes, so I can't pre-layout the casters.