Fixed Camera Angle?

So I’ve been trying to create a static camera angle that I could place in the corner of my scene while a third person controller is movable, a bit like the camera in the early Resident Evil games. I’m wondering how I would go about doing this. I also have this code which I’m trying to use to get the camera position to switch to another when the player enters a trigger.

var CameraPosition : Transform;
 
function Start(){
    if(CameraPosition)
        if(CameraPosition.renderer)
            Camera.Position.renderer.enabled=false;
}
 
function OnTriggerEnter (other : Collider) {
    if(CameraPosition  other.gameObject.tag == "Player" ){
        Camera.main.transform.position = CameraPosition.position;
        Camera.main.transform.rotation = CameraPosition.rotation;
    }
}

You could use an array to hold all of the possible camera positions, and switch accordingly.

var CameraPosition : Transform[];

function Start(){
    if(CameraPosition)
        if(CameraPosition.renderer)
            CameraPosition.renderer.enabled=false;
}

 

function OnTriggerEnter (other : Collider) {
    if(Camera.main.transform == CameraPosition[1]  other.gameObject.tag == "Player" ){
        Camera.main.transform = CameraPosition[2];
    }
}