Question about PolygonCollider2D
Cocos
AUGUST 14, 2023
In the editor, when you add a PolygonCollider2D to a sprite with a transparent area, the polygon is automatically created. How can I get automatic polygon creation when creating a sprite dynamically in the script code? I will be grateful for your help!
Let's personalize your content