I have this code:
private Camera cameraObj;
private Camera thirdPersonCamObj;
void Start ()
{
cameraObj = GetComponentInChildren<Camera>();
thirdPersonCamObj = // TODO: I want to point it to another Camera.
}
So I want to point each Camera object to a different Camera component inside of Unity, but I need to do it using the Camera’s name inside Unity. How do I do this?