Download

C++ Auto Active for Player help

Hi guys. I have a simple question today that is eluding me.

In a camera actor, in C++ how do I use Auto Activate for player. I can not seem to find the syntax for this.

I have only set up basic code for a camera actor. Here it is:

.h

// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include “Camera/CameraActor.h”
#include “myCamCPP.generated.h”

/**
*
*/
UCLASS()
class T1_API AmyCamCPP : public ACameraActor
{
GENERATED_BODY()

public:
AmyCamCPP();

};

CPP

// Fill out your copyright notice in the Description page of Project Settings.

#include “T1.h”
#include “myCamCPP.h”

AmyCamCPP::AmyCamCPP() {

}

Thank you in advance guys.