//Put the portal outside of the screen by attaching it to the camera as a chile outside the camera view
transform.position = Camera.main.transform.position;
Hi,
I’m trying to attach a GameObject to a parent prefab Main Camera during runtime. However, I also wanted it to be offset outside of the screen. The code above works at the Main Camera’s position but how do I make it offset outside the screen?