Is there a way to set a min and/or max value for a UProperty in a C++ class ?
UPROPERTY(EditAnywhere, Category = "Camera")
float CameraMinPitch;
UPROPERTY(EditAnywhere, Category = "Camera")
float CameraMaxPitch;
So the min pitch should be between -89 & 0.
Max pitch should be between 0 & 89.