{"id":13786201,"url":"https://github.com/NotWoods/unity-polygon-2d-editor","last_synced_at":"2025-05-11T22:30:45.827Z","repository":{"id":76026979,"uuid":"62774985","full_name":"NotWoods/unity-polygon-2d-editor","owner":"NotWoods","description":"Uses the collider of a PolygonCollider2D to generate a mesh for a Unity GameObject.","archived":false,"fork":false,"pushed_at":"2019-07-14T00:49:10.000Z","size":196,"stargazers_count":129,"open_issues_count":0,"forks_count":20,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-14T22:17:46.218Z","etag":null,"topics":["collider","level-editor","mesh-generation","tool","unity"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NotWoods.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-07-07T04:25:00.000Z","updated_at":"2025-01-23T15:44:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"b336bdef-5cff-44a4-a610-181d4b5148be","html_url":"https://github.com/NotWoods/unity-polygon-2d-editor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotWoods%2Funity-polygon-2d-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotWoods%2Funity-polygon-2d-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotWoods%2Funity-polygon-2d-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NotWoods%2Funity-polygon-2d-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NotWoods","download_url":"https://codeload.github.com/NotWoods/unity-polygon-2d-editor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253645098,"owners_count":21941311,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["collider","level-editor","mesh-generation","tool","unity"],"created_at":"2024-08-03T19:01:11.587Z","updated_at":"2025-05-11T22:30:45.412Z","avatar_url":"https://github.com/NotWoods.png","language":"C#","readme":"\u003cimg alt=\"\" src=\"https://tigeroakes.com/projects/unity-polygon/logo.png\" height=\"128\" width=\"128\"\u003e\n\n# Polygon2D Editor for Unity\n\n![Example usage animation](example.gif)\n\nUses the PolygonCollider2D collider to generate a mesh for a gameobject, \nletting you draw polygonal platforms in the Unity edtior via the Edit Collider button. \nJust drag the script onto your platform GameObject and you're good to go.\n\nThis script uses the [Triangulator](http://wiki.unity3d.com/index.php?title=Triangulator) class.\n\n## Installing / Getting started\n\nJust **[download the script](PolygonMesh2D.cs)** and place it somewhere inside your Unity project's assets.\nEverything needed in contained within one file. \n\nUse the component by dragging it onto a GameObject or by using the Add Component dialog. This will automatically add a Polygon Collider 2D component if it isn't already present. \n\nIn the Polygon Collider 2D Component, click the \"Edit Collider\" button to adjust the shape of the collider. The mesh will autoatically adjust itself to fill the collider.\n\n## Licensing\n\nLicsenced under the [MIT License](./LICENSE).\n","funding_links":[],"categories":["Generator"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNotWoods%2Funity-polygon-2d-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNotWoods%2Funity-polygon-2d-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNotWoods%2Funity-polygon-2d-editor/lists"}