{"id":13664201,"url":"https://github.com/Mckenon/SVHandles","last_synced_at":"2025-04-25T21:30:27.069Z","repository":{"id":84598922,"uuid":"127598042","full_name":"Mckenon/SVHandles","owner":"Mckenon","description":"SceneViewHandles is a lightweight extension which allows you to view and edit variables by only adding one attribute.","archived":false,"fork":false,"pushed_at":"2019-04-15T15:09:53.000Z","size":424,"stargazers_count":8,"open_issues_count":2,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-10T21:40:14.079Z","etag":null,"topics":["dll","extendability","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/Mckenon.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}},"created_at":"2018-04-01T04:48:46.000Z","updated_at":"2022-07-28T21:08:57.000Z","dependencies_parsed_at":"2023-03-12T23:51:20.438Z","dependency_job_id":null,"html_url":"https://github.com/Mckenon/SVHandles","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/Mckenon%2FSVHandles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mckenon%2FSVHandles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mckenon%2FSVHandles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mckenon%2FSVHandles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mckenon","download_url":"https://codeload.github.com/Mckenon/SVHandles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250899302,"owners_count":21504866,"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":["dll","extendability","unity"],"created_at":"2024-08-02T05:02:49.444Z","updated_at":"2025-04-25T21:30:27.053Z","avatar_url":"https://github.com/Mckenon.png","language":"C#","funding_links":[],"categories":["C\\#"],"sub_categories":[],"readme":"![Scene View Handles](https://raw.githubusercontent.com/Mckenon/SVHandles/master/Logo.png)\nSVHandles is a lightweight extension for Unity which allows you to quickly visualize and modify variables such as Vector3 and Bounds by simply adding ``[SVHandle]`` to the variable, and nothing else.\n\n## SVHandle Example\nThe Following code produces this visual:\n```cs\n    [SVHandle]\n    public Vector3 MyPoint = new Vector3(0, 10, 0);\n```\n![Handle Example](https://i.imgur.com/rhgZPXB.gif)\n\n## Extendability\nSo let's say you had some custom type you use often, that you would like to debug with this as well. That's easy, all you need to do is have a class in your project which inherits ``SVHandleDisplay``. For reference, here is how the code looks for drawing a ``Ray`` in  an ``SVHandle``.\n```cs\npublic class RayDisplay : SVHandleDisplay\n{\n\tpublic override Type ExecutingType\n\t{\n\t\tget { return typeof(Ray); }\n\t}\n\n\tpublic override void Draw(SVDebugArgs args, ref object value)\n\t{\n\t\tRay? ray = value as Ray?;\n\n\t\tHandles.ArrowHandleCap(0, ray.Value.origin, Quaternion.LookRotation(ray.Value.direction), 1f, EventType.Repaint);\n\t}\n}\n```\nIf you need to know more, soon there will be a wiki with all of the information you need!\n\n## Installation\nTo install SVHandles, simply click this [link](https://github.com/DeathGameDev/SVHandles/raw/master/Library/ScriptAssemblies/SceneViewHandles.dll) to download the DLL, and put it in your unity project. You can also clone the entire repository if you would like to further customize the extension.\n\n## Side-Note\nIf you do decide to extend SVHandles, it would be greatly appreciated if you could copy your display code into a PullRequest to make things better for everyone, I'm only one person, so I can't think of everything! (Same goes for posting issues if you see something wrong, we're all here to improve.)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMckenon%2FSVHandles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMckenon%2FSVHandles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMckenon%2FSVHandles/lists"}