{"id":14960838,"url":"https://github.com/terrehbyte/moregizmos","last_synced_at":"2025-10-19T02:16:10.987Z","repository":{"id":73628780,"uuid":"171087874","full_name":"terrehbyte/MoreGizmos","owner":"terrehbyte","description":"Additional debug gizmos to draw at editor-time in Unity projects.","archived":false,"fork":false,"pushed_at":"2020-04-28T00:36:43.000Z","size":38,"stargazers_count":11,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-12T07:50:27.056Z","etag":null,"topics":["unity","unity-package-manager","upm"],"latest_commit_sha":null,"homepage":"https://twitter.com/terrehbyte/status/1046116786410741760","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/terrehbyte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-02-17T06:02:39.000Z","updated_at":"2025-02-16T01:09:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"bb4bf142-9f08-417e-b812-fd2bdd938549","html_url":"https://github.com/terrehbyte/MoreGizmos","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/terrehbyte/MoreGizmos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrehbyte%2FMoreGizmos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrehbyte%2FMoreGizmos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrehbyte%2FMoreGizmos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrehbyte%2FMoreGizmos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terrehbyte","download_url":"https://codeload.github.com/terrehbyte/MoreGizmos/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrehbyte%2FMoreGizmos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275071556,"owners_count":25400398,"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","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"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":["unity","unity-package-manager","upm"],"created_at":"2024-09-24T13:23:10.415Z","updated_at":"2025-10-19T02:16:05.939Z","avatar_url":"https://github.com/terrehbyte.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MoreGizmos\n\n![A example of a square gizmo being drawn](https://user-images.githubusercontent.com/4968773/52925428-3a178e80-32e6-11e9-853c-1c1f64938636.gif)\n\nA proof-of-concept-quality library for Unity 2018.4+ that expands the number of\ndebug gizmos that can be drawn.\n\nHere's what you'd have available with Unity's offerings and this library:\n\n- [UnityEngine.Gizmos](https://docs.unity3d.com/ScriptReference/Gizmos.html) - usable in OnDrawGizmos, editor-only\n  - DrawCube\n  - DrawFrustum\n  - DrawGUITexture\n  - DrawIcon\n  - DrawLine\n  - DrawMesh\n  - DrawRay\n  - DrawSphere\n  - DrawWireCube\n  - DrawWireMesh\n  - DrawWireSphere\n- [UnityEngine.Debug](https://docs.unity3d.com/ScriptReference/Debug.html) - usable anywhere, editor-only\n  - DrawRay\n  - DrawLine\n- MoreGizmos.GizmosEx - usable anywhere, editor-only (for now)\n  - DrawSphere\n  - DrawCube\n  - DrawCircle\n  - DrawSquare\n  - DrawCustomGizmo - accepts objects of type `GizmoDraw`\n\nThese are intended to be only drawn during editor-time by collecting and\ndelegating the drawing of said debug gizmos to an instance of `GizmosEx` which\nin turn renders them in its own `OnDrawGizmos` message.\n\nCustom gizmos types can be derived from `GizmoDraw` and implement the required\nmethods that will be called to prepare and render the gizmo.\n\n## Installation\n\nMoreGizmos is distributed as a package that can be managed through Unity's\nPackage Manager UI as of 2018.1.\n\n### 2018.3+\n\nTo add this to an existing Unity project, open your project's `manifest.json`\nfile in your `Packages` directory and add the following line to your list of\ndependencies:\n\n```json\n  \"dependencies\": {\n    \"com.tb.moregizmos\": \"https://github.com/terrehbyte/MoreGizmos.git\",\n  }\n```\n\nNote that the trailing comma should be omitted if you add it as the last element\nin the list, of course. For more information or advanced usage, refer to the\nUnity Manual for [specifying dependencies via Git URLs][unityManUPMGit].\n\n[unityManUPMGit]:https://docs.unity3d.com/Manual/upm-git.html\n\n### Pre-2018.3\n\nSupport for loading Git repositories as a package was only added in 2018.3, so\nyou'll need to resort to local file management if you're running something older.\n\n![Screenshot of the \"Add package from disk...\" entry](https://user-images.githubusercontent.com/4968773/52925274-5a931900-32e5-11e9-990a-6c4dd1356260.png)\n\nUnity allows you to add a package by providing a relative file path to a\npackage.json file. Best practices would advise that you place it somewhere\nco-located with your Unity project (and versioned, of course).\n\n### No Package Manager\n\nAlternatively, you may choose to download this project as a zip (or submodule if\nyou're using Git) whose contents can be placed in the `Assets` directory of\nyour project. The end-result should be: `ProjectRoot/Packages/\u003crepo-contents\u003e`\nas a built-in package.\n\n## Quick Usage\n\nAttach an instance of `GizmosEx` to a GameObject in the scene. After doing so,\ntry adding something to the effect of the following code:\n\n```c#\npublic class ExampleUsage : MonoBehaviour\n{\n  private void Update()\n  {\n    // draws a RED CUBE at 0,0,0, with a scale of ONE for each dimension\n    GizmosEx.DrawCube(Vector3.zero, Vector3.one, Color.red);\n  }\n}\n```\n\n## License\n\nCopyright (c) 2019-2020 Terry Nguyen - MIT License\n\nThe sprites used in the above GIF are CC0-licensed from [Buch][buch]'s dungeon\ntileset.\n\n[buch]:https://opengameart.org/users/buch\n\nMore information can be found by reading the [LICENSE](LICENSE.md) file in this\nrepository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterrehbyte%2Fmoregizmos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterrehbyte%2Fmoregizmos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterrehbyte%2Fmoregizmos/lists"}