Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Unity File Templates and Snippets
Unity File Templates and Snippets

Unity File Templates and Snippets

Preview

John Miller

|
87,661 installs
| (3) | Free
File item templates and snippets for Unity projects.
Download

Tired of constantly switching between the Unity Editor and Visual Studio to create new C# scripts? Are you frustrated by all the boiler plate code you're writing in scripts? Install this extension for simple enhancements to your workflow.

Streamline your workflow

Save time and become a power user

Save precious time and create your new files quickly in the Solution Explorer of Visual Studio with templates made for Unity projects. There are templates for MonoBehaviour, ScriptableObject, StateMachineBehaviour, shaders, and common ECS code. No more constantly switching between Unity and Visual Studio just to create a new C# file or shader file.

Quickly add new files directly from the Add menu

image__2.png

Even more templates

preview.png

Right-click on a project or folder in the Solution Explorer and choose Add > New Item. In the Add New Item dialog there will be a Unity folder that contains all the item templates.

Speed up your productivity and write less boiler-plate code

More than a dozen snippets make it simple to quickly write common Unity code with a few keys. Type the shortcut for a snippet, press Tab twice when it shows in IntelliSense, and customize. Press Enter when you're ready and off you go, back to working on your game.

snippets.gif

Open and customizable

Don't like how something looks? Have an idea for more snippets? Visit the GitHub repo and customize for yourself or submit an issue with an idea.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft