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)
|
if (CameraVolume == CurrentCameraVolume)
|
||||||
{
|
{
|
||||||
CameraVolumeQueue.Remove(CameraVolume);
|
DequeueCameraVolume(CameraVolume);
|
||||||
CurrentCameraVolume->SetIsActive(false);
|
CurrentCameraVolume->SetIsActive(false);
|
||||||
CurrentCameraVolume = nullptr;
|
CurrentCameraVolume = nullptr;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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