public PrimerObject camObject; //Public because sometimes I'll just want to manipulate the camera itself without intermediary methods protected override void Awake() { if (cam == null) { cam = Camera.main; } cam.transform.parent = transform; cam.clearFlags = CameraClearFlags.SolidColor; Color bCol = new Color(0.2f, 0.2f, 0.2f, 1); bCol.a = 0; //Ensure this for the recorder output cam.backgroundColor = bCol; cam.usePhysicalProperties = true; //cam.focalLength = 50f; camObject = cam.gameObject.AddComponent <PrimerObject>(); }