Switch between 2 cameras

Hello :slight_smile:
I want to put some cut scenes in my game. I have all what i need to do that (the cut scenes are ready to be used) except the command to switch beetween the main camera to the second camera, and back to the first camera. I only need some easy command for switch like “switchCam”. I searched on google some solutions, but no one works. The script in 3d platform games is too complicate…

Can anybody help me with a simple script command just for switch beetween my cameras?

currentCamera.transform.tag = “Respawn”;
otherCamera.transform.tag = “MainCamera”;

The above should do it.

Here is the whole script:

You can also do more complicated transitions with some of the other camera scripts listed here under “camera controls”:

Thank you very much!!! Works perfectly!! :smile:
I have another question ^^… is it possible to swith from a camera to another with a fade effect?

sure as bradjensen68 said:

http://www.unifycommunity.com/wiki/index.php?title=CrossFade

http://www.unifycommunity.com/wiki/index.php?title=CrossFadePro

Thank you very much to both of you, helped a lot!! :smile: