Add BeginPlay method to EnemyAIController
This commit is contained in:
parent
9ed5da5792
commit
2f8da66aa4
|
@ -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);
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue