{"id":13663750,"url":"https://github.com/Thundernerd/Unity3D-IconManager","last_synced_at":"2025-04-25T17:32:55.795Z","repository":{"id":89650678,"uuid":"62159202","full_name":"Thundernerd/Unity3D-IconManager","owner":"Thundernerd","description":"A small script allowing you to set icons for GameObjects through code","archived":false,"fork":false,"pushed_at":"2023-04-01T12:59:51.000Z","size":15,"stargazers_count":67,"open_issues_count":1,"forks_count":12,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-18T11:39:38.519Z","etag":null,"topics":[],"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/Thundernerd.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"thundernerd","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2016-06-28T17:00:15.000Z","updated_at":"2025-02-21T11:46:38.000Z","dependencies_parsed_at":"2023-04-28T05:34:13.881Z","dependency_job_id":null,"html_url":"https://github.com/Thundernerd/Unity3D-IconManager","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thundernerd%2FUnity3D-IconManager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thundernerd%2FUnity3D-IconManager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thundernerd%2FUnity3D-IconManager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thundernerd%2FUnity3D-IconManager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Thundernerd","download_url":"https://codeload.github.com/Thundernerd/Unity3D-IconManager/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250862209,"owners_count":21499243,"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":[],"created_at":"2024-08-02T05:02:36.086Z","updated_at":"2025-04-25T17:32:55.789Z","avatar_url":"https://github.com/Thundernerd.png","language":"C#","readme":"# Icon Manager\n\n\u003cp align=\"center\"\u003e\n\t\u003cimg alt=\"GitHub package.json version\" src =\"https://img.shields.io/github/package-json/v/Thundernerd/Unity3D-IconManager\" /\u003e\n\t\u003ca href=\"https://github.com/Thundernerd/Unity3D-IconManager/issues\"\u003e\n\t\t\u003cimg alt=\"GitHub issues\" src=\"https://img.shields.io/github/issues/Thundernerd/Unity3D-IconManager\"\u003e\n\t\u003c/a\u003e\n\t\u003ca href=\"https://github.com/Thundernerd/Unity3D-IconManager/pulls\"\u003e\n\t\t\u003cimg alt=\"GitHub pull requests\" src =\"https://img.shields.io/github/issues-pr/Thundernerd/Unity3D-IconManager\" /\u003e\n\t\u003c/a\u003e\n\t\u003ca href=\"https://github.com/Thundernerd/Unity3D-IconManager/blob/master/LICENSE.md\"\u003e\n\t\t\u003cimg alt=\"GitHub license\" src =\"https://img.shields.io/github/license/Thundernerd/Unity3D-IconManager\" /\u003e\n\t\u003c/a\u003e\n\t\u003cimg alt=\"GitHub last commit\" src =\"https://img.shields.io/github/last-commit/Thundernerd/Unity3D-IconManager\" /\u003e\n\u003c/p\u003e\n\nIcon Manager is a small utility that allows you to set icons on GameObjects through code.\n\n## Installation\n1. The package is available on the [openupm registry](https://openupm.com). You can install it via [openupm-cli](https://github.com/openupm/openupm-cli).\n```\nopenupm add net.tnrd.iconmanager\n```\n2. Installing through a [Unity Package](http://package-installer.glitch.me/v1/installer/package.openupm.com/net.tnrd.iconmanager?registry=https://package.openupm.com) created by the [Package Installer Creator](https://package-installer.glitch.me) from [Needle](https://needle.tools)\n\n[\u003cimg src=\"https://img.shields.io/badge/-Download-success?style=for-the-badge\"/\u003e](http://package-installer.glitch.me/v1/installer/package.openupm.com/net.tnrd.iconmanager?registry=https://package.openupm.com)\n\n## Usage\nHere's how you use the IconManager\n```c#\nprivate void Foo()\n{\n    GameObject gameObject = FetchGameObject();\n    IconManager.SetIcon(gameObject, LabelIcon.Teal);\n}\n```\n\nOr by using an extension for GameObjects\n```c#\nprivate void Foo()\n{\n    GameObject gameObject = FetchGameObject();\n    gameObject.SetIcon(ShapeIcon.CircleGreen);\n}\n```\n\nRemoving an icon is also possible; both through the IconManager and via an extension method\n```c#\nprivate void Foo()\n{\n    GameObject gameObject = FetchGameObject();\n\n    IconManager.RemoveIcon(gameObject);\n    // or\n    gameObject.RemoveIcon();\n}\n```\n\n## Support\n**Icon Manager** is a small and open-source utility that I hope helps other people. It is by no means necessary but if you feel generous you can support me by donating.\n\n[![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/J3J11GEYY)\n\n## Contributing\nPull requests are welcomed. Please feel free to fix any issues you find, or add new features.\n\n","funding_links":["https://ko-fi.com/thundernerd","https://ko-fi.com/J3J11GEYY"],"categories":["C\\#","Script Utility"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FThundernerd%2FUnity3D-IconManager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FThundernerd%2FUnity3D-IconManager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FThundernerd%2FUnity3D-IconManager/lists"}