1. Lea Hayes
  2. Script Templates for Unity




A little window which automatically generates C# source code stubs for Unity.

WARNING: This has not been thoroughly tested. Use at your own risk!!

Licensed under the MIT license. See LICENSE file in the project root for full license information. DO NOT contribute to this project unless you accept the terms of the contribution agreement.



  • Mono Behaviour
  • Editor Window
  • Editor Menu
  • Scriptable Object
  • C# Class
  • C# Struct
  • C# Interface

Installing scripts

Simply place the contents of this repository into an editor folder within your project; for instance "{YourProject}/Assets/Editor/ScriptTemplates".

This utility does not generate stubs for UnityScript or Boo.

Contribution Agreement

This project is licensed under the MIT license (see LICENSE). To be in the best position to enforce these licenses the copyright status of this project needs to be as simple as possible. To achieve this the following terms and conditions must be met:

  • All contributed content (including but not limited to source code, text, image, videos, bug reports, suggestions, ideas, etc.) must be the contributors own work.

  • The contributor disclaims all copyright and accepts that their contributed content will be released to the public domain.

  • The act of submitting a contribution indicates that the contributor agrees with this agreement. This includes (but is not limited to) pull requests, issues, tickets, e-mails, newsgroups, blogs, forums, etc.