- Home /
Question by
lukaszofficialpl · Apr 16, 2020 at 07:09 PM ·
unity 5cameraobject
How to set the position of objects on the left and right of the screen
Hey, can anyone tell me how to do this?
I mean something like that in the middle on the left https://answers.unity.com/questions/642970/how-to-set-an-objects-position-to-the-corner-of-th.html
transform.position = Camera.main.ViewportToWorldPoint(new Vector3(0,1,0));
I only have this code that the object is in the year on the left and I want it to be in the middle on the left
Comment