Welcome,
Guest
. Please
login
or
register
.
February 10, 2025, 12:20:49 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
[SOLVED] Can't get the right on-screen coords of a widget?
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Can't get the right on-screen coords of a widget? (Read 1710 times)
vexe
Full Member
Thank You
-Given: 0
-Receive: 0
Posts: 153
[SOLVED] Can't get the right on-screen coords of a widget?
«
on:
November 23, 2013, 03:46:52 AM »
Hello,
WorldToScreenPoint is acting funny with me - as I'm not able to use it to calculate the right on-screen coords of the top left corner of my inventory slot. See my question if you so please:
http://answers.unity3d.com/questions/581670/worldtoscreenpoint-isnt-getting-it-right.html
I don't know why but, I think there's some NGUI factor related to the problem.
Anybody?
Thanks.
«
Last Edit: November 23, 2013, 05:17:02 AM by vexe
»
Logged
vexe
Full Member
Thank You
-Given: 0
-Receive: 0
Posts: 153
Re: Can't get the right on-screen coords of a widget?
«
Reply #1 on:
November 23, 2013, 05:16:44 AM »
Solved by using the UI camera to do the thing - I could have sworn I tried it the first time and it didn't work... strange.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
[SOLVED] Can't get the right on-screen coords of a widget?