{"id":16209928,"url":"https://github.com/annulusgames/unity-script-templates","last_synced_at":"2025-03-02T08:34:45.355Z","repository":{"id":207743366,"uuid":"695466612","full_name":"annulusgames/unity-script-templates","owner":"annulusgames","description":"A collection of script templates for Unity","archived":false,"fork":false,"pushed_at":"2023-11-17T10:30:49.000Z","size":33,"stargazers_count":36,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-02T03:24:16.433Z","etag":null,"topics":["templates","unity"],"latest_commit_sha":null,"homepage":"","language":null,"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/annulusgames.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}},"created_at":"2023-09-23T09:16:24.000Z","updated_at":"2025-02-26T07:21:27.000Z","dependencies_parsed_at":"2023-11-17T11:46:55.994Z","dependency_job_id":null,"html_url":"https://github.com/annulusgames/unity-script-templates","commit_stats":null,"previous_names":["annulusgames/unity-script-templates","yn01dev/unity-script-templates","yn01-dev/unity-script-templates"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/annulusgames%2Funity-script-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/annulusgames%2Funity-script-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/annulusgames%2Funity-script-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/annulusgames%2Funity-script-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/annulusgames","download_url":"https://codeload.github.com/annulusgames/unity-script-templates/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241481969,"owners_count":19969833,"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":["templates","unity"],"created_at":"2024-10-10T10:34:11.274Z","updated_at":"2025-03-02T08:34:45.321Z","avatar_url":"https://github.com/annulusgames.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# unity-script-templates\n\nThis repository is a collection of script templates for Unity. It includes numerous templates that are tailored to Unity features, reducing the effort required when creating new script files.\n\n[日本語版READMEはこちら](README_JA.md)\n\n## Setup\n\nThere are two methods to add custom script templates to your editor.\n\n### 1. Add ScriptTemplates to your project\n\nTo introduce script templates into each project, follow these steps:\n\n1. Download the unitypackage file and double click to import it.\n2. Restart the editor. A restart is necessary to reflect the templates in the MenuItem.\n3. You can access the templates from the Create menu in the Project window.\n\nThe `ScriptTemplates` folder must be placed directly under the Assets folder and should not be moved.\n\n### 2. Add ScriptTemplates to Unity Editor\n\nYou can also add ScriptTemplates directly to the Unity Editor executable.\n\n1. Ensure that the editor is not running.\n2. Open the `ScriptTemplates` folder within Unity's folder.\n3. Download the template files and add them to Unity's `ScriptTemplates` folder.\n4. When you open the editor, you can access the templates from the Create menu in the Project window.\n\nThe `ScriptTemplates` folder is located in the following locations:\n\nWindows: `\\Unity\\Editor\\Data\\Resources\\ScriptTemplates`\nMac: `/Unity.app/Contents/Resources/ScriptTemplates`\n\nYou will need to add them again if you change the editor version. Templates with the same name in the `Assets/ScriptTemplates` folder take priority.\n\n## Templates\n\n| Templates |\n| - |\n| \u003cb\u003eC#\u003c/b\u003e |\n| C# Class |\n| C# Struct |\n| C# Interface |\n| - |\n| \u003cb\u003eGeneral\u003c/b\u003e |\n| MonoBehaviour |\n| ScriptableObject |\n| - |\n| \u003cb\u003eEditor\u003c/b\u003e |\n| Editor |\n| EditorWindow |\n| PropertyDrawer |\n| Editor (UIToolkit) |\n| EditorWindow (UIToolkit) |\n| PropertyDrawer (UIToolkit) |\n| - |\n| \u003cb\u003eECS\u003c/b\u003e |\n| ComponentData |\n| System (ISystem) |\n| System (SystemBase) |\n| Authoring |\n| - |\n| \u003cb\u003eText Files\u003c/b\u003e |\n| Text |\n| Json |\n| Xml |\n| Markdown |\n| - |\n| \u003cb\u003eOthers\u003c/b\u003e |\n| Package Manifest |\n\n## Contribute\n\nIf you'd like to propose the addition of templates, fork this repository and submit a pull request.\n\n## License\n\n[MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fannulusgames%2Funity-script-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fannulusgames%2Funity-script-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fannulusgames%2Funity-script-templates/lists"}