GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — UnityLibrary/ScriptTemplates at master · CavefireTech/UnityLibrary

Expand file tree

/

ScriptTemplates

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

ScriptTemplates

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
81a-C# Editor Script-NewEditorScript.cs.txt
81a-C# Editor Script-NewEditorScript.cs.txt
 
 
81b-C# Custom Editor Script-NewCustomEditorScript.cs.txt
81b-C# Custom Editor Script-NewCustomEditorScript.cs.txt
 
 
81c-C# Interface Script-NewInterfaceScript.cs.txt
81c-C# Interface Script-NewInterfaceScript.cs.txt
 
 
81d-C# Property Drawer Script-NewPropertyDrawerScript.cs.txt
81d-C# Property Drawer Script-NewPropertyDrawerScript.cs.txt
 
 
README.md
README.md
 
 

README.md

Outline

Script Templates

Script templates are plain text documents that contains a simple script functionally that let's you get started with script faster.

Here we have bunch of script templates that makes your scripting more fun.

Installation

Download the script template(s) you want and copy them to: (Choose your current operating system)

  • Windows: C:\Program Files\Unity\Editor\Data\Resources\ScriptTemplates
  • Mac: /Applications/Unity/Editor/Data/Resources/ScriptTemplates
  • Mac (since 5.2.1f1): /Applications/Unity/Unity.app/Contents/Resources/ScriptTemplates

And paste them. (Some script templates may need replace confirmation)

All done, now restart the Unity Editor and enjoy.

Modification

Every script template has a special format, this format consists of:

Format: {Order in menu}-{Menu item name}-{Initial script name}.txt

Example: 81a-C# Editor Script-NewEditorScript.cs.txt

Also the content of the file contains a simple script that replaces it's class name with the entered name for the file. you can find it in the file by #SCRIPTNAME# tag.

More information

License

MIT @ Unity Community

Made with ❤️ by Unity Community

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.