Add BeginPlay method to EnemyAIController

This commit is contained in:
Louis Hobbs 2023-02-16 18:28:08 +00:00
parent 9ed5da5792
commit 2f8da66aa4
2 changed files with 7 additions and 0 deletions

View File

@ -32,6 +32,11 @@ void AEnemyAIController::OnPossess(APawn* InPawn)
//ensure(enemy->GetMovementComponent()->UseAccelerationForPathFollowing()); //ensure(enemy->GetMovementComponent()->UseAccelerationForPathFollowing());
} }
void AEnemyAIController::BeginPlay()
{
Super::BeginPlay();
}
void AEnemyAIController::Tick(float DeltaTime) void AEnemyAIController::Tick(float DeltaTime)
{ {
Super::Tick(DeltaTime); Super::Tick(DeltaTime);

View File

@ -33,6 +33,8 @@ public:
virtual void OnPossess(APawn* InPawn) override; virtual void OnPossess(APawn* InPawn) override;
virtual void BeginPlay() override;
virtual void Tick(float DeltaTime) override; virtual void Tick(float DeltaTime) override;
virtual AEnemyCharacter* GetEnemyCharacter(); virtual AEnemyCharacter* GetEnemyCharacter();