{"id":28564805,"url":"https://github.com/furrfield-studio/propertygenerators","last_synced_at":"2026-04-29T10:06:33.259Z","repository":{"id":295249930,"uuid":"989596138","full_name":"FurrField-Studio/PropertyGenerators","owner":"FurrField-Studio","description":"Automatically generate public properties for your private fields in Unity, saving you boilerplate code and ensuring consistency between runtime and editor behaviors.","archived":false,"fork":false,"pushed_at":"2025-05-24T12:45:28.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-24T13:51:22.996Z","etag":null,"topics":["unity","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/FurrField-Studio.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-24T12:29:00.000Z","updated_at":"2025-05-24T12:45:31.000Z","dependencies_parsed_at":"2025-05-26T11:03:49.792Z","dependency_job_id":null,"html_url":"https://github.com/FurrField-Studio/PropertyGenerators","commit_stats":null,"previous_names":["furrfield-studio/propertygenerators"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FurrField-Studio%2FPropertyGenerators","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FurrField-Studio%2FPropertyGenerators/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FurrField-Studio%2FPropertyGenerators/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FurrField-Studio%2FPropertyGenerators/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FurrField-Studio","download_url":"https://codeload.github.com/FurrField-Studio/PropertyGenerators/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FurrField-Studio%2FPropertyGenerators/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259088479,"owners_count":22803642,"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":["unity","unity3d"],"created_at":"2025-06-10T14:00:38.823Z","updated_at":"2026-04-29T10:06:33.226Z","avatar_url":"https://github.com/FurrField-Studio.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Property Generators\n\nAutomatically generate public properties for your private fields in Unity, saving you boilerplate code and ensuring consistency between runtime and editor behaviors.\n\n# Table of Contents\n- [Installation](#installation)\n- [Attributes](#attributes)\n    - [GenerateReadOnly](#generatereadonly)\n\t- [GenerateEditorWritable](#generateeditorwritable)\n\t- [GenerateEditorProperty](#generateeditorproperty)\n    - [Hybrid properties](#hybrid-properties)\n\n# Installation\n\n- Download ``PropertyGenerators.Attributes.dll`` and ``PropertyGenerators.Generators.dll`` from Releases.\n- Create ``Plugins`` folder and ``Editor`` folder inside plugins.\n- Place ``PropertyGenerators.Attributes.dll`` into ``Plugins`` folder and ``PropertyGenerators.Generators.dll`` into ``Editor`` folder.\n- In the ``PropertyGenerators.Generators.dll`` import settings, untick everything and add asset label named ``RoslynAnalyzer``.\n\n# Attributes\n\nUsing any attribute requires your class to be partial.\n\n## GenerateReadOnly\n\nGenerates getter for specific variable.\n\n```csharp\n[GenerateReadOnly]\nprivate int _name;\n```\n\nwill generate:\n\n```csharp\npublic int Name =\u003e _name;\n```\n\n## GenerateEditorWritable\n\nGenerates editor-only setter for specific variable.\n\n```csharp\n[GenerateEditorProperty]\nprivate string _name;\n```\n\nwill generate:\n\n```csharp\n#if UNITY_EDITOR\npublic string Name { set =\u003e _name = value; }\n#endif\n```\n\n## GenerateEditorProperty\n\nGenerates editor-only property for specific variable.\n\n```csharp\n[GenerateEditorProperty]\nprivate string _name;\n```\n\nwill generate:\n\n```csharp\n#if UNITY_EDITOR\npublic string Name\n{\n    get =\u003e _name;\n    set =\u003e _name = value;\n}\n#endif\n```\n\n## Hybrid properties\n\nGenerates editor property and runtime only getter for specific variable.\n\n```csharp\n[GenerateReadOnly] [GenerateEditorWritable]\nprivate string _name;\n\n//or\n\n[GenerateReadOnly] [GenerateEditorProperty]\nprivate string _name;\n```\n\nwill generate:\n\n```csharp\n#if UNITY_EDITOR\npublic string Name\n{\n    get =\u003e _name;\n    set =\u003e _name = value;\n}\n#else\npublic string Name =\u003e _name;\n#endif\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffurrfield-studio%2Fpropertygenerators","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffurrfield-studio%2Fpropertygenerators","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffurrfield-studio%2Fpropertygenerators/lists"}