Hi.
I’m learning Unity for 2 weeks only so I don’t know many things.
I need to have something in a left corner - a picture of a coin (Sprite) and 3D-text child to it with the number of coins I collected (because gui text uses viewport and cannot be parented).
So, 1st thing I tried is to have a MainCamera parent to my coin, but, of course, when I try different screen sizes - it goes offScreen.
So I made a script in void Awake() to change coordinates of a coin using camera.ScreenToWorldPoints … but as it has being parented by a camera - it goes off the screen.
Then I thought may be I don’t need a parent camera , so I wrote changing of coordinates to void Update() using same ScreenToWorldPoints. But , using it on Update make my sprite jumping around sometime and visually it looks bad.
So, please, help me, how can I hang some View (in my case, Sprite of coin with 3D text over it) so it would constantly hang in the left upper corner?