Use FindObjectOfType for getting main Camera.