void Start() { GameObject mainHandler = GameObject.FindGameObjectWithTag("MainCamera"); script = mainHandler.GetComponent<cubesDraaien>(); brightness = 1.0f; playTimer = UIInputField.outcome * 60; }
void Start() { GameObject mainHandler = GameObject.FindGameObjectWithTag("MainCamera"); script = mainHandler.GetComponent <cubesDraaien>(); brightness = 1.0f; playTimer = UIInputField.outcome * 60; }