C# Class 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.
Inheritance: MonoBehaviour
Afficher le fichier Open project: DrexelGoalBall/goalBall Class Usage Examples

Méthodes publiques

Свойство Type Description
cams Camera[]

Méthodes publiques

Méthode Description
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.

Method Details

Start() public méthode

Initiazes all of the variables that need to be initialized and makes sure only one camera is on.
public Start ( ) : void
Résultat void

Update() public méthode

Detects when player presses the K key and switches the camera.
public Update ( ) : void
Résultat void

Property Details

cams public_oe property

public Camera[] cams
Résultat Camera[]