Just a comment on the code format in CrossPlatformInputManager

This is the format used in Visual Studio. The braces being on a new line is what I’m used to in VB and C#. I finally did change my VS editor to mimic the Unity style.

1 Like

Sorry, I couldn’t resist. :smiley:

7 Likes

Definitely
FUNCTION()
{

}

2 Likes

No.

FUNCTION() {

}

Let’s start an Italo-Brazilian war due to this!

2 Likes

This bear thought that format preferences mattered more than consistency…

4 Likes

True story.

2 Likes

Lololol… :smiley:

My thought is, we have big screens now (if you don’t … it’s your tool, get something good), AND it’s really easy to miss a brace if you cram it on the end of a line.

But, lint programs will reformat everything according to your boss’s preference, so just go with the flow :slight_smile:

Another great one is … tabs or spaces? lol.

== John ==

that style is for javascript :yum:

Privacy & Terms