... at 800*480 works, and by 480*320 is not correctly positioned sight. (UIRoot is not automatic, manual height = 480. UICamera is ortho, size =1.) How to fix this?
Sorry for bad english ::)
Title: Re: How to convert the world position to a position on the screen?
Post by: ArenMook on May 03, 2012, 08:23:33 PM
UICamera.currentCamera only works in the event callbacks such as OnDrag, OnClick, etc. Outside of those callbacks you need to explicitly specify which camera to use.
Title: Re: How to convert the world position to a position on the screen?
Post by: Syberex on May 03, 2012, 08:45:12 PM
This is not fixed bag :(
Title: Re: How to convert the world position to a position on the screen?
Post by: ArenMook on May 03, 2012, 08:57:50 PM
Since you mentioned your UIRoot is not automatic, you need to take your size into account: