Create a new object with button on the game

Hello ,

I want to create a new camera when I press the key while on the game . For example ; I start play the game , and then I use the “V” key after a new camera will be created but at the same time I dont want to delete my first camera ,also I want to switch between them (I found a way for switch , just need creating a new camera in the game) .

also here is the my fisrt try -it s not working very well as I want- ;


Well you need to spawn a camera actor to the world, and save a reference of it so you can switch.

I made an example for you: