Teleporting Camera

Hi,

I have a 2D game scene where when the player collides with a box at the end of the level, I have a continue button appear. However I have the continue button in the middle of the scene and want to have the camera or maybe player teleport to this location to see and press the button.

I have no idea what kind of script to write for this. I should imagine there’s a condition to be satisfied, and perhaps changing the transform of camera or player?

Any ideas? Thank you.

you could change the position and rotation of the camera. if the location of the box is always going to be at the same exact world position you can even just place the camera there in scene view to test it and then just remember the transform and set it in script once your condition is met. another option is to have multiple cameras. you got this dude. just play around with it.