# allCamerasCount

> The number of cameras in the current Scene.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static int allCamerasCount { get; }
```

### Remarks

Returns the size of the array that [Camera.allCameras](/engine/6000.0/script-reference/unityengine/camera/allcameras.md) returns and the amount of cameras that [Camera.GetAllCameras](/engine/6000.0/script-reference/unityengine/camera/getallcameras.md) will fill.

### Examples

```csharp
using UnityEngine;

public class ExampleScript : MonoBehaviour
{
    private int count;

    void Start()
    {
        count = Camera.allCamerasCount;
        print("We've got " + count + " cameras");
    }
}
```
