- Home /
Question by
DragonFire011 · Apr 02, 2016 at 10:35 PM ·
camerabuttoncamera-movement
Camera Reset Script
Any idea how to make it so my camera moves back to the position it started on load when a button is clicked. So when the button gets clicked, the camera moves back to original position,
Comment
Answer by $$anonymous$$ · Apr 03, 2016 at 12:00 AM
Yep, take a note of the vector position (in the editor) and then translate the camera back to it's original position based on a key press, just add the script to the camera:
http://docs.unity3d.com/ScriptReference/Transform.Translate.html
As for input, if you need assistance look here: