I don’t know. It’s so annoying that I decided to buy Visual Studio instead, as I was spending quite a bit of time fixing the indentation to be readable, rather than just programming. I can’t imagine how they let it get so screwed up.
public class Foo : MonoBehaviour {
void Start() {
DontDestroyOnLoad(this);
}
}
Like this:
public class Foo : MonoBehaviour {
void Start() {
DontDestroyOnLoad(this);
}
}
So if your cursor is at the end of the DontDestroyOnLoad(this); line and you press Enter, it will indent enough to format the next line the way it thinks the whole thing should be formatted.