Increase your productivity by customizing your coding environment in Unity3D

Why not use your favourite Editor?

I have coding experience in only a few IDEs. I was most happy at NetBeans once, but then my interest shifted on the combination of Visual Studio 2013 + ReSharper after I switched to coding C#.

MonoDevelop - Dark Theme

After accustoming myself with the new Visual Studio environment, MonoDevelop – the default editor of Unity – started to feel weak. So I thought, why not change the editor to your favourite editor?

  • Go to “Edit/Preferences


  • Browse for your favourite editor’s .exe file. After you browse the directory and select the .exe, it will appear in the list. Browse Editor

    • My VS2013 executable was in the following directory: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe

Enjoy your favourite IDE alongside Unity!

Visual Sutdio

Use more practical Script Templates

If you are sick of editing the curly braces of Update() and Start() functions and yearning for a more practical default script file, you can change the template file of scripts. For example, to change the template file in Windows:

  • Start a text editor of your choice (with elevated privileges if Unity is installed in C:\Program Files (x86) just in case)
  • Open the C# template file in the following directory: your_unity_installation_directory\Editor\Data\Resources\ScriptTemplates\81-C# Script-NewBehaviourScript.cs.txt.
  • Edit the template according to your needs. Below is my choice of template C# code that is in a newly generated script file by Unity Editor.

Editing the template file also eliminates the “Inconsistend line endings” problem when using VS2013 as an external editor.
You can also change the templates of JavaScript and Boo files.


Got more suggestions to beginners/junior devs like myself? Please leave them as comments below!

Written on April 9, 2015