{"id":18772214,"url":"https://github.com/kyaulabs/unity-scripttemplates","last_synced_at":"2026-04-17T09:32:36.762Z","repository":{"id":167724612,"uuid":"643142927","full_name":"kyaulabs/unity-scripttemplates","owner":"kyaulabs","description":"Unity script templates used by @kyaulabs.","archived":false,"fork":false,"pushed_at":"2023-05-21T18:43:34.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-10-05T00:25:04.439Z","etag":null,"topics":["script-templates","scripttemplates","templates","unity","unity-script-templates"],"latest_commit_sha":null,"homepage":"https://kyaulabs.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kyaulabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"kyau"}},"created_at":"2023-05-20T08:25:21.000Z","updated_at":"2023-05-20T20:54:58.000Z","dependencies_parsed_at":"2023-07-12T04:15:41.011Z","dependency_job_id":null,"html_url":"https://github.com/kyaulabs/unity-scripttemplates","commit_stats":null,"previous_names":["kyaulabs/unity-scripttemplates"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kyaulabs/unity-scripttemplates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyaulabs%2Funity-scripttemplates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyaulabs%2Funity-scripttemplates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyaulabs%2Funity-scripttemplates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyaulabs%2Funity-scripttemplates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kyaulabs","download_url":"https://codeload.github.com/kyaulabs/unity-scripttemplates/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyaulabs%2Funity-scripttemplates/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31923153,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T09:10:15.403Z","status":"ssl_error","status_checked_at":"2026-04-17T09:10:14.455Z","response_time":62,"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":["script-templates","scripttemplates","templates","unity","unity-script-templates"],"created_at":"2024-11-07T19:28:11.921Z","updated_at":"2026-04-17T09:32:36.746Z","avatar_url":"https://github.com/kyaulabs.png","language":"JavaScript","funding_links":["https://github.com/sponsors/kyau"],"categories":[],"sub_categories":[],"readme":"﻿# \u003cimg src=\".github/media/unity.svg\" style=\"height:48px;vertical-align:text-bottom;\"/\u003e Unity - ScriptTemplates\n[https://kyaulabs.com/](https://kyaulabs.com/)\n\n[![Contributor Covenant](https://img.shields.io/badge/contributor%20covenant-2.1-4baaaa.svg?logo=open-source-initiative\u0026logoColor=4baaaa)](CODE_OF_CONDUCT.md) \u0026nbsp; [![Conventional Commits](https://img.shields.io/badge/conventional%20commits-1.0.0-fe5196?style=flat\u0026logo=conventionalcommits)](https://www.conventionalcommits.org/en/v1.0.0/) \u0026nbsp; [![GitHub](https://img.shields.io/github/license/kyaulabs/unity-scripttemplates?logo=creativecommons)](LICENSE) \u0026nbsp; [![Gitleaks](https://img.shields.io/badge/protected%20by-gitleaks-blue?logo=git\u0026logoColor=seagreen\u0026color=seagreen)](https://github.com/zricethezav/gitleaks)  \n[![Semantic Versioning](https://img.shields.io/github/v/release/kyaulabs/unity-scripttemplates?include_prereleases\u0026logo=semver\u0026sort=semver)](https://semver.org) \u0026nbsp; [![Discord](https://img.shields.io/discord/88713030895943680?logo=discord\u0026color=blue\u0026logoColor=white)](https://discord.gg/DSvUNYm)\n\n# Disclaimer\n\n* [About](#about)\n* [Usage](#usage)\n  * [Format](#format)\n  * [Variables](#variables)\n* [Attribution](#attribution)\n\n# About\n\nThe Unity Editor uses `ScriptTemplates` as the templates for new file creation, all of these can be accessed by right-clicking in the `Project` window and selecting `Create`.\n\n# Usage\n\nTo utilize these templates over the defaults locate the following.\n\nLocation: `%ProgramFiles%\\Unity\\Hub\\Editor\\20xx.x.xxfx\\Editor\\Data\\Resources\\ScriptTemplates`\\\n\n```bash\ncd %ProgramFiles%\\Unity\\Hub\\Editor\\20xx.x.xxfx\\Editor\\Data\\Resources\nrm -rf ScriptTemplates\ngit clone https://github.com/kyaulabs/unity-scripttemplates ScriptTemplates\n```\n\n## Format\n\nAll templates follow the same naming syntax:\n\n```\n81-C# Script__Enum-NewEnum.cs.txt\n```\n\n| 81 | C# Scripts | Enum | NewEnum | .cs |\n| - | - | - | - | - |\n| Menu Position | Menu Name | Menu Item | Default filename | File extension |\n\n## Variables\n\nThere are a couple of variables that you are allowed to use inside of script templates.\n\n* `#SCRIPTNAME#`: will be replaced with the name of the script\r\n* `#NOTRIM#`: will make it so the white-space of the current line is not trimmed\r\n* `#ROOTNAMESPACEBEGIN#` and `#ROOTNAMESPACEEND#`: will wrap something with the default namespace\r\n\r\n# Attribution\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyaulabs%2Funity-scripttemplates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkyaulabs%2Funity-scripttemplates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyaulabs%2Funity-scripttemplates/lists"}