Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //****** Donations are greatly appreciated. ******
- //****** You can donate directly to Jesse through paypal at https://www.paypal.me/JEtzler ******
- var camera1 : Camera;
- var camera2 : Camera;
- function Start () {
- camera1.camera.active = true;
- camera2.camera.active = false;
- }
- function Update () {
- if(Input.GetKeyDown("k")) {
- camera1.camera.active = false;
- camera2.camera.active = true;
- }
- if(Input.GetKeyDown("l")) {
- camera2.camera.active = false;
- camera1.camera.active = true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement