Buttons switch cameras

  • I have 2 cameras and 2 buttons(for each cameras)
  • I had moved the First cam for a distance.
  • If i clicked the Second cam Button now, the First cam should reset and go to its original position.
  • The same vice versa for the other cam. If i clicked the First cam Button, the Second cam should reset and go to its original position.

You need two Transform varibles, which contain the default position of the cameras. You could set those in the start function. Then, if you click button 1, enable camera 1, disable camera 2 and set its transform to the one you saved earlier.
If you click button 2, do the opposite.

Hope this helps