{"id":16162444,"url":"https://github.com/sunsided/unity-bezier-splines","last_synced_at":"2026-05-16T08:42:13.059Z","repository":{"id":141993010,"uuid":"204309213","full_name":"sunsided/unity-bezier-splines","owner":"sunsided","description":"Bezier splines and editor scripting in Unity","archived":false,"fork":false,"pushed_at":"2020-02-21T11:23:05.000Z","size":178,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-13T08:27:43.750Z","etag":null,"topics":["bezier-curves","editor-scripting","unity","unity3d"],"latest_commit_sha":null,"homepage":null,"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/sunsided.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-25T14:56:11.000Z","updated_at":"2024-05-15T11:14:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"e6ee06ed-cfcd-4e23-a2ab-7eead4ed14f4","html_url":"https://github.com/sunsided/unity-bezier-splines","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/sunsided%2Funity-bezier-splines","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunsided%2Funity-bezier-splines/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunsided%2Funity-bezier-splines/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunsided%2Funity-bezier-splines/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sunsided","download_url":"https://codeload.github.com/sunsided/unity-bezier-splines/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247589835,"owners_count":20963022,"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":["bezier-curves","editor-scripting","unity","unity3d"],"created_at":"2024-10-10T02:30:09.246Z","updated_at":"2026-05-16T08:42:13.025Z","avatar_url":"https://github.com/sunsided.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unity Bezier Curves / Editor Scripting\n\nSome experiments with Unity Editor scripting and Bezier Splines. This code\ndraws some inspiration from the [Bezier Curve Editor](https://assetstore.unity.com/packages/tools/bezier-curve-editor-11278) Unity asset; especially borrowing the\ntechnique to render _all_ handles even if a specific waypoint object is selected.\n\nImplemented features:\n\n- Game objects transforms as waypoints,\n- Gizmos for rendering the curve outside the editor,\n- Editor GUI handles for modifying control points,\n- Re-using the same Editor GUI for both node and path components,\n- Connected, symmetric and broken handles,\n- Open and closed curves.\n\n![Screenshot of the editor with the path selected](.readme/bezier.png)\n\nThe inspector GUI dynamically generates the list of waypoints from the child\nobjects of the path and provides a context menu for appending and prepending\nnodes, as well as clearing the path entirely.\n\n![Screenshot of the inspector GUI](.readme/component-inspector.png)\n\nLastly, here's a video of the path being edited:\n\n![Video of path being modified in the editor](.readme/bezier.webp)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunsided%2Funity-bezier-splines","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunsided%2Funity-bezier-splines","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunsided%2Funity-bezier-splines/lists"}