I can’t seen to figure this out and the posts I found are in Unity 2D.
I need to align the top left of a gameObject with the top left corner of my camera view.
Thank you for your help.
There isn’t an actual “Unity 2D”. It’s just the 3D side pretending to be 2D. Unity’s Camera has conversion methods to translate screen and viewport X,Y coordinates into X,Y,Z coordinates.
https://docs.unity3d.com/ScriptReference/Camera.ScreenToWorldPoint.html
https://docs.unity3d.com/ScriptReference/Camera.ViewportToWorldPoint.html