{"id":20314307,"url":"https://github.com/normandy72/unity-graph","last_synced_at":"2026-04-22T03:31:26.622Z","repository":{"id":153902847,"uuid":"622688395","full_name":"Normandy72/Unity-Graph","owner":"Normandy72","description":"How to create a graph in Unity. Besed on CodeMonkey and BLANKdev tutorials.","archived":false,"fork":false,"pushed_at":"2023-04-10T16:12:42.000Z","size":1381,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-07T15:05:32.942Z","etag":null,"topics":["csharp","csharp-code","graph","unity","unity2d"],"latest_commit_sha":null,"homepage":"","language":"ShaderLab","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Normandy72.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-04-02T20:44:17.000Z","updated_at":"2025-05-06T05:51:00.000Z","dependencies_parsed_at":"2023-05-06T16:47:01.639Z","dependency_job_id":null,"html_url":"https://github.com/Normandy72/Unity-Graph","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Normandy72/Unity-Graph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Normandy72%2FUnity-Graph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Normandy72%2FUnity-Graph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Normandy72%2FUnity-Graph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Normandy72%2FUnity-Graph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Normandy72","download_url":"https://codeload.github.com/Normandy72/Unity-Graph/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Normandy72%2FUnity-Graph/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32119708,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"online","status_checked_at":"2026-04-22T02:00:05.693Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["csharp","csharp-code","graph","unity","unity2d"],"created_at":"2024-11-14T18:14:42.139Z","updated_at":"2026-04-22T03:31:26.604Z","avatar_url":"https://github.com/Normandy72.png","language":"ShaderLab","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Shapes\n1. Add __EventSystem__.\n2. Inside of Main Camera create an empty __GameObject__ (rename to _LineParent_).\n3. Inside of Main Camera create a __Canvas__ (_DotsCanvas_).\n4. In Canvas change _Render Mode_ to \"Screen Space - Camera\".\n5. Set _Render Camera_ (add Main Camera).\n6. Create a __Canvas__ (_PenToolCanvas_), place it between LineParent and DotsCanvas. Set _Render Mode_ (\"Screen Space - Camera\"). Set _Render Camera_ (add Main Camera).\n7. Inside of PenToolCanvas create an __Image__ (_PenCanvas_), stretch it, change its color.\n8. Inside of PenToolCanvas create an __Image__, anchored it to a left up corner, set its position (50, -50), change its sprite.\n9. Create a new script (_PenTool_). Add logic. Add it as PenToolCanvas's component.\n10. Create a _Prefabs_ folder.\n11. Inside of DotsCanvas create an __Image__ (_DotPrefab_). Change its sprite, size, color, etc. Place it into the Prefabs folder.\n12. Delete it from DotsCanvas.\n13. Inside of LineParent create an empty __GameObject__ (_LinePrefab_). Add it a _LineRenderer_ component. Change its size, width, matherial (_Default-Line_). Place it into the Prefabs folder. Delete it from LineParent.\n14. Open LinePrefab, add a new script (_LineController_).\n15. Add a new script (_PenCanvas_) to PenCanvas. Add logic.\n16. Add a new script (_DotController_) to DotPrefab. Add logic.\n\n## Lines\n1. Create a new C# script (_Lines_), add it to Main Camera. Add logic.\n2. Create a new __Material__, assign it a color. Add it into script.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnormandy72%2Funity-graph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnormandy72%2Funity-graph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnormandy72%2Funity-graph/lists"}