{"id":16210247,"url":"https://github.com/bastianblokland/enum-generator-unity","last_synced_at":"2025-03-19T09:30:27.611Z","repository":{"id":97603466,"uuid":"195651782","full_name":"BastianBlokland/enum-generator-unity","owner":"BastianBlokland","description":"Unity package for generating c# / f# / vb / cil enums based on json input files.","archived":false,"fork":false,"pushed_at":"2019-11-09T12:21:37.000Z","size":1007,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T17:12:35.148Z","etag":null,"topics":["enum-generator","enumeration","json","unity","upm"],"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/BastianBlokland.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":"2019-07-07T13:02:40.000Z","updated_at":"2022-10-25T21:48:38.000Z","dependencies_parsed_at":"2024-01-06T15:54:58.742Z","dependency_job_id":"76c18872-f9d1-44b0-b715-3ba3b680977d","html_url":"https://github.com/BastianBlokland/enum-generator-unity","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BastianBlokland%2Fenum-generator-unity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BastianBlokland%2Fenum-generator-unity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BastianBlokland%2Fenum-generator-unity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BastianBlokland%2Fenum-generator-unity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BastianBlokland","download_url":"https://codeload.github.com/BastianBlokland/enum-generator-unity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243976375,"owners_count":20377690,"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":["enum-generator","enumeration","json","unity","upm"],"created_at":"2024-10-10T10:36:27.010Z","updated_at":"2025-03-19T09:30:27.178Z","avatar_url":"https://github.com/BastianBlokland.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EnumGenerator-Unity\n\nUnity package tool for generating c# / f# / vb / cil enums based on json input files.\n\n## Description\nIf you have config in json files it can be nice to have a enum to reference in the code instead of\nhaving to hard code values, this tool allows you to generate that enum.\n\n## Installation\n1. Add a reference to this repository to your package dependencies (`Packages/manifest.json`)\n\n    ```\n    \"dependencies\": {\n        \"com.bastianblokland.enumgenerator\": \"https://github.com/BastianBlokland/enum-generator-unity.git#v1.6.1\",\n        ...\n    }\n    ```\n2. Add the NuGet dependency to your project.\n\n    If your project uses a NuGet package manager you can simply add a dependency to [**EnumGenerator.Core**](https://www.nuget.org/packages/EnumGenerator.Core/) version `4.1.*`.\n\n    If you are not using a NuGet package manager you can simply copy the dll's from the [`.lib`](https://github.com/BastianBlokland/enum-generator-unity/tree/master/.lib) directory to your project.\n\n## Usage\n1. Create a `Generator` scriptable-object. (Right mouse the project window -\u003e `Create/EnumGenerator/Generator`)\n2. In the `Json File` field of the generator configure the file to base your enum on.\n3. Configure the jPaths to point to the right fields in your json. (More info: [**readme**](https://github.com/BastianBlokland/enum-generator-dotnet/blob/master/README.md#json-file-structure))\n4. In the `Output Path` field of the generator configure where to output the enum to. (Relative to the `Assets` directory)\n\n## Example\nAn example of how to integrate this package with a unity project can be found in the [`.example`](https://github.com/BastianBlokland/enum-generator-unity/tree/master/.example) directory.\n\n## Help\nMore information: [**enum-generator-dotnet**](https://github.com/BastianBlokland/enum-generator-dotnet)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbastianblokland%2Fenum-generator-unity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbastianblokland%2Fenum-generator-unity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbastianblokland%2Fenum-generator-unity/lists"}