Edit default script template

If you hate the

void Start () {

and would rather have

void Start ()
{

or just get rid of the default comments or add namespaces follow along.

My files are not installed at the default location so that’s is why the right-click on the Unity icon to open file location, the rest should be understandable from the photos, if you have any questions please feel free to ask :slight_smile:




004


007

Hopefully this helped.

Excellent guide. Remember to keep a copy of your new template, since Unity will replace it on every update of the engine.

Good to know thank you

Can you keep the copy in the same folder renamed or does the entire folder get over written during the update

If this is the only change you are trying to make, then another option, if you are using Visual Studio, would be to change the formatting/code style options;

These would persist per solution/project, regardless of updates to Unity.

2 Likes

Privacy & Terms