{"id":18546917,"url":"https://github.com/mr-sb/unityconfigfoundation","last_synced_at":"2026-02-13T23:10:20.173Z","repository":{"id":113700179,"uuid":"255398933","full_name":"Mr-sB/UnityConfigFoundation","owner":"Mr-sB","description":"Automatically generate data objects according to CSV configuration table. Support convert Primitive/1D Array/ValueTuple/Frequently-used UnityEngine Types.","archived":false,"fork":false,"pushed_at":"2022-11-16T07:08:58.000Z","size":108,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T23:03:02.728Z","etag":null,"topics":["config","converter","csv","foundation","script","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/Mr-sB.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,"publiccode":null,"codemeta":null}},"created_at":"2020-04-13T17:38:37.000Z","updated_at":"2024-08-16T17:14:56.000Z","dependencies_parsed_at":"2023-04-28T01:46:01.396Z","dependency_job_id":null,"html_url":"https://github.com/Mr-sB/UnityConfigFoundation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Mr-sB/UnityConfigFoundation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-sB%2FUnityConfigFoundation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-sB%2FUnityConfigFoundation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-sB%2FUnityConfigFoundation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-sB%2FUnityConfigFoundation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mr-sB","download_url":"https://codeload.github.com/Mr-sB/UnityConfigFoundation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-sB%2FUnityConfigFoundation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29422575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T22:20:51.549Z","status":"ssl_error","status_checked_at":"2026-02-13T22:20:49.838Z","response_time":78,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["config","converter","csv","foundation","script","unity"],"created_at":"2024-11-06T20:27:31.907Z","updated_at":"2026-02-13T23:10:20.154Z","avatar_url":"https://github.com/Mr-sB.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UnityConfigFoundation\nAutomatically generate data objects according to CSV configuration table.\n\n## Feature\n* `TextAssetLoader` can help you easily load `TextAsset` from `StreamAssets` or `Resources` or `PersistentDataPath`.\n* `CSVConverter` can convert CSV text to some frequently-used data objects.\n* `CVSGenerator` can convert the definition of CSV and Class.\n* Support convert Types:\n\n| Primitive | 1D Array | List | ValueTuple | Frequently-used UnityEngine Type |\n| :-------: | :------: | :--: | :--------: | :------------------------------: |\n|     √     |     √    |   √  |      √     |                 √                |\n\n## CSV form\n* First line are field names.\n* Second line are field types.\n* Third line are descriptions.\n* Others are records.\n\n## Extend\nIf you want to add some data type converter, create a class and use `partial` keyword to be part of `FieldConverter` class.\n```c#\nnamespace GameUtil.Config\n{\n    public static partial class FieldConverter\n    {\n        //Must add FieldConverterAttribute to convert method.\n        //The method must be static, return type can not be void, and parameter is string.\n        [FieldConverter]\n        public static DataType Vector4IntConverter(this string fieldContent)\n        {\n            //Add convert logic.\n        }\n    }\n}\n```\n\n## Plugin\n* [TinyCSV](https://github.com/Mr-sB/TinyCSV)(Open source)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-sb%2Funityconfigfoundation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmr-sb%2Funityconfigfoundation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-sb%2Funityconfigfoundation/lists"}