{"id":17946683,"url":"https://github.com/hisacat/unity-numbercountershader","last_synced_at":"2026-01-24T16:05:55.414Z","repository":{"id":260031895,"uuid":"880107246","full_name":"hisacat/Unity-NumberCounterShader","owner":"hisacat","description":"Simple Number Counter Shader for Unity","archived":false,"fork":false,"pushed_at":"2024-10-31T14:04:16.000Z","size":469,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T17:22:39.254Z","etag":null,"topics":["shader","shaders","unity","unity-shader","unity-shaders","unity2d","unity3d"],"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/hisacat.png","metadata":{"files":{"readme":"README.ja.md","changelog":"CHANGELOG.md","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":"2024-10-29T05:59:39.000Z","updated_at":"2024-10-31T13:59:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"06fa322f-5c65-4c1a-976f-5718d712d9f4","html_url":"https://github.com/hisacat/Unity-NumberCounterShader","commit_stats":null,"previous_names":["hisacat/unity-numbercounter"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hisacat%2FUnity-NumberCounterShader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hisacat%2FUnity-NumberCounterShader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hisacat%2FUnity-NumberCounterShader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hisacat%2FUnity-NumberCounterShader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hisacat","download_url":"https://codeload.github.com/hisacat/Unity-NumberCounterShader/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251730081,"owners_count":21634321,"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":["shader","shaders","unity","unity-shader","unity-shaders","unity2d","unity3d"],"created_at":"2024-10-29T07:07:09.625Z","updated_at":"2026-01-24T16:05:55.371Z","avatar_url":"https://github.com/hisacat.png","language":"C#","funding_links":["https://www.buymeacoffee.com/HisaCat","https://img.buymeacoffee.com/button-api/?text=Buy"],"categories":[],"sub_categories":[],"readme":"## Unity Number Counter Shader\n\nこのドキュメントは以下の言語でもご覧いただけます。  \n[[English]](./README.md) [[한국어]](./README.ko.md) [[日本語]](README.ja.md)\n\n[VCC](https://hisacat.github.io/Unity-NumberCounterShader)を使って、このパッケージをインポートすることもできます。  \n[![GitHub Release][shields-release]][github-release]\n\n[shields-release]: https://img.shields.io/github/v/release/hisacat/Unity-NumberCounterShader\n[github-release]: https://github.com/hisacat/Unity-NumberCounterShader/releases/latest\n\nこれはUnityで数字を表示するためのシンプルなシェーダーです。  \n![Preview](./Images/Preview.png)\n\n- 最大6桁の数字を表示可能\n- パフォーマンスを最適化した軽量シェーダー\n- `Particle System`と完全互換\n- 7種類のデフォルトフォントテクスチャを提供\n\nこのプロジェクトにクレジットを付ける義務はありませんが、付けていただけると嬉しいです！  \nもしこのプロジェクトがお気に召しましたら、以下のボタンから**サポート**をしてください \u003c3\n\n\u003ca href=\"https://www.buymeacoffee.com/HisaCat\"\u003e\u003cimg src=\"https://img.buymeacoffee.com/button-api/?text=Buy me Milk\u0026emoji=🥛\u0026slug=HisaCat\u0026button_colour=bd5fff\u0026font_colour=ffffff\u0026font_family=Bree\u0026outline_colour=000000\u0026coffee_colour=ffffff\" /\u003e\u003c/a\u003e\n\n## フォントテクスチャ例\n\n以下はフォントテクスチャの例です。（実際には背景が透明である必要があります）  \n![Font example](./Images/Font.png)  \nカスタムフォントテクスチャを作成して使用することもできます。サポート用に [FontTemplate.psd](.//Packages/cat.hisa.number-counter-shader//FontTemplate.psd) ファイルを提供しています。\n\n## 使用方法\n\n- `HisaCat/Number Counter/Sample Scene` をご参照ください。  \n  使用するには、`HisaCat/Number Counter Unlit Cutout` や `HisaCat/Number Counter Unlit Alpha Blended` シェーダーをQuad meshに適用します。\n- プロパティ:  \n  ![Properties](./Images/Inspector-Properties.png)\n  - `Color`: 最終的に掛け合わせる色です。\n  - `Sprite Sheet`: 数字0〜9が含まれたテクスチャです。（5列2行）\n  - `Display Length`: 表示する桁数です。\n  - `Value`: 表示する値です。\n  - `Align`: 数値の配置方法。\n    - `Fill Zeros`: 数字を右揃えし、空いた左の桁を`0`で埋めます。\n    - `Left`: 数字を左揃えします。\n    - `Right`: 数字を右揃えします。\n\n## その他\n\nこのシェーダーは手動でコーディングされており、パフォーマンス面で非常に軽量です。  \nメインロジックは [NumberCounter.cginc](./Packages/cat.hisa.number-counter-shader/Runtime/Shaders/NumberCounter.cginc) に記載されていますので、興味のある方はご確認ください。\n\nこのシェーダーは、テクスチャの周辺の一部のパディング領域をレンダリングから除外するため、テクスチャの`Mipmaps`オプションを有効にしても視覚的なアーティファクトが発生しません。これにより、VRChatなどのゲームとの互換性も高くなっています。  \n問題が発生した場合は、[Issue](https://github.com/hisacat/Unity-NumberCounterShader/issues) タブからお知らせください！\n\n## ライセンス\n\nこのプロジェクトは完全なオープンソースであり、著作権情報を含める条件の下、誰でも自由に使用、改変、配布することができます。このソフトウェアは「現状のまま」提供されており、使用に伴う問題や損害について著作権者は一切責任を負いません。\n\n詳細については、[ライセンス](./LICENSE) をご参照ください。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhisacat%2Funity-numbercountershader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhisacat%2Funity-numbercountershader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhisacat%2Funity-numbercountershader/lists"}