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
Show file Open project: DrexelGoalBall/goalBall Class Usage Examples

Public Properties

Property Type Description
cams Camera[]

Public Methods

Method 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 method

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

Update() public method

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

Property Details

cams public property

public Camera[] cams
return Camera[]