Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

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.