Camera.allCameras Manual     Reference     Scripting  
Scripting > Runtime Classes > Camera
Camera.allCameras

static var allCameras : Camera[]

Description

Returns all enabled cameras in the scene.

var count = Camera.allCameras.length;
print ("We've got " + count + " cameras");