C# Класс CameraBox, goalBall

This script allows players to switch between cameras in the cams variable. NOTE: this is mainly a debugging script used to see the whole field of play.
Наследование: MonoBehaviour
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
cams Camera[]

Открытые методы

Метод Описание
Start ( ) : void

Initiazes all of the variables that need to be initialized and makes sure only one camera is on.

Update ( ) : void

Detects when player presses the K key and switches the camera.

Описание методов

Start() публичный Метод

Initiazes all of the variables that need to be initialized and makes sure only one camera is on.
public Start ( ) : void
Результат void

Update() публичный Метод

Detects when player presses the K key and switches the camera.
public Update ( ) : void
Результат void

Описание свойств

cams публичное свойство

public Camera[] cams
Результат Camera[]