Polygon with holes

Avatar
  • updated
  • Answered

Hello,

I would like to know if it's possible to create a polygon with holes ? I'm using PolygonPath with coordinates and I would like to use another bunch of coordinates to poke a holes in my Polygon.

Thanks,

Marina

Reporting a bug? please specify Unity version:
Reporting a bug? please specify Shapes version:
Reporting a bug? please specify Render Pipeline:
Built-in render pipeline
Pinned replies
Avatar
Freya Holmér
  • Answer
  • Answered

this is currently not supported, and it's unlikely I'll be adding support for it anytime soon

however, a workaround you can do is to split the mesh manually, and arrange the vertices like this:


Avatar
Freya Holmér
  • Answer
  • Answered

this is currently not supported, and it's unlikely I'll be adding support for it anytime soon

however, a workaround you can do is to split the mesh manually, and arrange the vertices like this: