Camera.allCamerasCount

매뉴얼로 전환
public static int allCamerasCount ;

설명

The number of cameras in the current scene.

Returns the size of the array that Camera.allCameras returns and the amount of cameras that Camera.GetAllCameras will fill.

var count : int = Camera.allCamerasCount;
print ("We've got " + count + " cameras");