As per comment in previous lecture, do not forget to correct the following part of code:
TSubclassOf<UCameraShake>
with:
TSubclassOf<UMatineeCameraShake>
Otherwise you will get the compilation error:
Class ‘UCameraShake’ not found
As per comment in previous lecture, do not forget to correct the following part of code:
TSubclassOf<UCameraShake>
with:
TSubclassOf<UMatineeCameraShake>
Otherwise you will get the compilation error:
Class ‘UCameraShake’ not found
I want to add an extra information that connected with the context. You need to change the
GetWorld()->GetFirstPlayerController()->ClientPlayCameraShake(DeathShake);
with
GetWorld()->GetFirstPlayerController()->ClientStartCameraShake(DeathShake);
in APawnBase::HandleDestruction() function because of the new API changes in 4.26.
exactly what i was running into. Thanks