I was following this tutorial: Drawing in UNITY in 60 SECONDS - YouTube and now I want to add a collider to the line renderer. Does anyone know how to do that?
You can use a “Edge Collider 2D” component, and set the points to reach the desired result. Note that you need to set 5 points to complete a square collider or more points for most complex results.