Destroy DebugCamera on BeginPlayu
This commit is contained in:
parent
21fa28b640
commit
3ed07b6f72
|
@ -24,6 +24,7 @@ void ACameraVolume::BeginPlay()
|
||||||
Super::BeginPlay();
|
Super::BeginPlay();
|
||||||
this->OnActorBeginOverlap.AddDynamic(this, &ACameraVolume::OnBeginOverlap);
|
this->OnActorBeginOverlap.AddDynamic(this, &ACameraVolume::OnBeginOverlap);
|
||||||
this->OnActorEndOverlap.AddDynamic(this, &ACameraVolume::OnEndOverlap);
|
this->OnActorEndOverlap.AddDynamic(this, &ACameraVolume::OnEndOverlap);
|
||||||
|
DebugCamera->DestroyComponent();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ACameraVolume::Tick(float DeltaSeconds)
|
void ACameraVolume::Tick(float DeltaSeconds)
|
||||||
|
|
Loading…
Reference in New Issue