Screen.width / 2 & Screen.height / 2 not in the middle of the screen.

Hello :)

The titel says it all.

When using `Screen.width and Screen.height / 2` it should center the object using the script, right? corresponding to my math skills, you know the width of the screen / 2 = half a screen am I right, or am I really that terrible at math :)?

Am I missing something here? ;)

Thanks.

Screen.width/2 and Screen.height/2 are in the middle of the screen, when it comes to screen space. That won't work for 3D objects, which don't use screen space. If you're talking about GUI labels, you have to take into account the width and height of the label. If you just use Screen.width/2 and Screen.height/2 for the origin, they naturally won't be centered.