Suggestion for C# Template

Hi,
I suggest that there should be three spaces between the class name and the Start function. I think this would be very useful.

For example, instead of this:

public class Example : MonoBehaviour {
// Use this for initialization
void Start () {

}

// Update is called once per frame
void Update () {

}
}

You would have this:

public class Example : MonoBehaviour {

// Use this for initialization
void Start () {

}

// Update is called once per frame
void Update () {

}
}

Thanks,
epiccoder

You can change the template, if you want to. On Windows, you can find it in the Unity installation directory under: Unity\Editor\Data\Resources\ScriptTemplates

It should be the 81-C# Script-NewBehaviourScript.cs.txt file.

7 Likes

Thanks!

Just curious, but what exactly would it be useful for?

2 Likes

People too lazy to hit the enter key. :stuck_out_tongue:

2 Likes