Originally Posted By: Slin
Is there btw a reason for the mouse position being given based on the bottom left corner, while all 2D elements have their origin on the top left? o.O


Now thats a picky non related question which should belong to unity forum lol.

But you can always use Screen.height - Input.mousePosition.y

Though i don't know right now if it's really inverted...


@Ventilator, yes you can leave the "this" away. I never use it.

It's just useful if use it like this way:

Code:
private string name;

public Classname(string name)
{
  this.name = name;
}



But this is not Unity related and you probably know it by yourself anyway.

Last edited by Captain_Kiyaku; 03/25/10 23:15.

My Blog

"Tag und Nacht schrei ich mich heiser,
Wind weht alle Worte fort,
Tag und Nacht schrei ich mein Krähenwort!"

Subway To Sally - Krähenkönig