filePath:zh/physics-2d/physics-2d-collider.mdcontent:
Hello, does the current PolygonCollider2D component not support creation via code? I tried creating it through code, but the points property of the component doesn't contain the vertex information I want. I also checked the Regenerate Points function, and it doesn't seem to support calling it. So, is there a plan to support this in the future?
filePath: zh/physics-2d/physics-2d-collider.md content: Hello, does the current PolygonCollider2D component not support creation via code? I tried creating it through code, but the points property of the component doesn't contain the vertex information I want. I also checked the Regenerate Points function, and it doesn't seem to support calling it. So, is there a plan to support this in the future?