MasterScript.cs - MitchOSully/Visualising-the-DFN-Dataset GitHub Wiki

Summary

Executes the start() and update() functions in other programs in a desired order.

List of Functions

Public Global Variables

void Start()
void Update()
void quitGame()

Public global variables

DateHelper helperScript

BodyPlotter plotterScript

ScreenMaster screenScript

CameraController cameraScript

These are all references to other scripts in the program.

void Start()

Calls the start() functions of the 4 other scripts in the desired order. Executed before frame 1 for setting up the game.

Params

None

Returns

None

Calls

Called By

  • Unity System

void Update()

Calls the update() functions of 3 other scripts in the desired order. Executed every frame.

Params

None

Returns

None

Calls

Called By

  • Unity System

void quitGame()

GUI Method

Quits the game.

Params

None

Returns

None

Calls

None

Called By

  • The 'X' button in the lower-right corner of the screen.