How do I make C++ third person template have the first person perspective.

When creating the camera component, you should add EditAnywhere and BlueprintReadWrite in the parentheses of the UPROPERTY()