Hello everyone,
I know there are A LOT of threads on how to center a GUI. but none of them worked
for me in C#. So i hoped some C # experts can help me out with this.
I use the usual code:
new Rect (Screen.width / 2 - 400, Screen.height / 2 - 300,400,800)
but it still gets a bit off the center. it usually lies a bit on the left. and i saw that quite few ppl had
the same issue.
Any C# ideas how i can work my way around?
Ofcoarse i could tweak the values, but im just wondering if i can do it more practical like in Java.