Versions with this page:
Versions without this page:
Возвращает все включенные камеры на сцене.
using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { public int count = Camera.allCameras.Length; void Example() { print("We've got " + count + " cameras"); } }