Compare commits
2 Commits
aaf94c7d57
...
3ed07b6f72
Author | SHA1 | Date |
---|---|---|
baz | 3ed07b6f72 | |
baz | 21fa28b640 |
|
@ -37,7 +37,7 @@ void UCameraManagerSubsystem::RemoveCameraVolume(ACameraVolume* CameraVolume)
|
|||
{
|
||||
if (CameraVolume == CurrentCameraVolume)
|
||||
{
|
||||
CameraVolumeQueue.Remove(CameraVolume);
|
||||
DequeueCameraVolume(CameraVolume);
|
||||
CurrentCameraVolume->SetIsActive(false);
|
||||
CurrentCameraVolume = nullptr;
|
||||
}
|
||||
|
|
|
@ -24,6 +24,7 @@ void ACameraVolume::BeginPlay()
|
|||
Super::BeginPlay();
|
||||
this->OnActorBeginOverlap.AddDynamic(this, &ACameraVolume::OnBeginOverlap);
|
||||
this->OnActorEndOverlap.AddDynamic(this, &ACameraVolume::OnEndOverlap);
|
||||
DebugCamera->DestroyComponent();
|
||||
}
|
||||
|
||||
void ACameraVolume::Tick(float DeltaSeconds)
|
||||
|
|
Loading…
Reference in New Issue