{"id":13785691,"url":"https://github.com/wotakuro/UnityBulkConverter","last_synced_at":"2025-05-11T21:31:35.441Z","repository":{"id":141323066,"uuid":"66620464","full_name":"wotakuro/UnityBulkConverter","owner":"wotakuro","description":"[Unity]library and samples for converting each assets","archived":false,"fork":false,"pushed_at":"2016-08-30T11:08:48.000Z","size":257,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-17T22:35:23.154Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/wotakuro.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}},"created_at":"2016-08-26T05:52:47.000Z","updated_at":"2023-09-17T18:09:03.000Z","dependencies_parsed_at":"2024-01-17T05:29:30.718Z","dependency_job_id":null,"html_url":"https://github.com/wotakuro/UnityBulkConverter","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/wotakuro%2FUnityBulkConverter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wotakuro%2FUnityBulkConverter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wotakuro%2FUnityBulkConverter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wotakuro%2FUnityBulkConverter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wotakuro","download_url":"https://codeload.github.com/wotakuro/UnityBulkConverter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253638907,"owners_count":21940433,"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-03T19:01:03.473Z","updated_at":"2025-05-11T21:31:34.884Z","avatar_url":"https://github.com/wotakuro.png","language":"C#","funding_links":[],"categories":["Asset"],"sub_categories":[],"readme":"# UnityBulkConverter\n[Unity]library and samples for converting each assets\n\nUnityで全てのprefabやシーン中のオブジェクトに対して処理をしたいという時のためのUtilityです。\u003cbr /\u003e\n・UI.Textのフォントを一括で修正したい\u003cbr /\u003e\n・全てのMeshColliderを削除して、BoxColliderに置き換えたい\u003cbr /\u003e\nなどと言った処理を楽に書けるようにするモノです。\n\n全てのprefabに対する例としては以下のようになります。\n\n    // boxColliderを追加する処理\n    private static bool AddBoxCollider(GameObject gmo,string prefabPath)\n    {\n       if (gmo.GetComponent\u003cBoxCollider\u003e() != null)\n       {\n         return false;\n       }\n       gmo.AddComponent\u003cBoxCollider\u003e();\n       return true;\n    }\n    // 全てのprefabに対して AddBoxColliderを実行\n    BulkConvertBatch.BulkConvertUtility.DoAllPrefab(AddBoxCollider, \"AddCollider\");\n\n全てのシーン中のオブジェクトに対して処理をしたいときは下記です。\n\n    private static bool RectToSmall(RectTransform rectTransform)\n    {\n        if (rectTransform == null) { return false; }\n        rectTransform.localScale = rectTransform.localScale * 0.5f;\n\n        return true;\n    }\n    // 全てのシーン中のRecttransformに対して処理をします\n    BulkConvertBatch.BulkConvertUtility.DoAllComponentsInAllScene\u003cRectTransform\u003e(RectToSmall);\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwotakuro%2FUnityBulkConverter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwotakuro%2FUnityBulkConverter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwotakuro%2FUnityBulkConverter/lists"}