Graph order

So the graph goes
M N O P
I J K L
E F G H
A B C D

Why does it go like that and not like :
A B C D
E F G H
I J K L
M N O P
I know is a weird question but i wanted to know is there a reason why the alphabet starts from the bottom or it is like a preferance thing?

Hi PhantomGR,

In Unity, the positive x-values are on the right side of the origin, and the positiv y-values at the top. Of course, this depends on the perspective. Assuming we arrange the characters via code and increment the position value in the loop, A would be at (0, 0), B at (1, 0), C at (2, 0), D at (3,0), E at (0, 1), F at (1,1), G at (2, 1), and so on.

In other programs, it might be that the characters appear in your second example even though you use the same code. That’s because the programmers defined it this way, not because that’s a natural law.

Of course, the code itself is a matter of personal preference. If you tweak it, you could make the characters appear like in your second example.

Did this clear it up for you? :slight_smile:


See also:

Ah i see thank you for the clarification

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms