To All Unity Guru’s, I would like to be able to dynamicly change cameras, for example:
Have a camera constantly rotatating around a football pitch, and then maybe after 10 seconds jump to a overhead view,
Any help would be greatly appreciated, OOOoo FYI I’m new to Unity…
var cam1: GameObject;
var cam2: GameObject;
var timeToswitch: int=3;
function Start(){
cam2.active=false;
yield WaitForSeconds(timeToswitch);
cam1.active=false;
cam2.active=true;
}
Put that (into a new javascript)on an empty gameobject and assign your two cameras. Untested code - may have syntax typo’s