How can i change the script format when creating a new one ?

The default format is:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class NewBehaviourScript : MonoBehaviour {

	// Use this for initialization
	void Start () {
		
	}
	
	// Update is called once per frame
	void Update () {
		
	}
}

But i like it more to be in this format:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class NewBehaviourScript : MonoBehaviour 
{
	// Use this for initialization
	void Start () 
       {
		
	}
	
	// Update is called once per frame
	void Update () 
        {
		
	}
}

I’m just used to the second format but instead changing it each time i create a new script maybe therei s away to change it once and set it as default format ?

Hello @Chocolade,

I don’t think Unity has that default change, if you copy it on a clipboard (or notes), maybe that would help?

Cheers!
NuclearRasberry

When you use visual studio, you can simply remove the last } and replace it, and it will order all the brackets accordingly. (unless this is a resharper thingy)

You mean the layout of newly created scripts?

You can edit them as described here. Updating Unity overwrites the changes so make a backup when you have it like you want.