Changed Interaction.cpp comment change
Changed the ref comment
This commit is contained in:
parent
11e6393726
commit
63e44f47e8
@ -24,7 +24,7 @@ void AInteraction::BeginPlay()
|
|||||||
{
|
{
|
||||||
Super::BeginPlay();
|
Super::BeginPlay();
|
||||||
|
|
||||||
//Character refs
|
//Character & Camera refs
|
||||||
TempCharacterRef = Cast<ATempCharacter>(GetWorld()->GetFirstPlayerController()->GetCharacter());
|
TempCharacterRef = Cast<ATempCharacter>(GetWorld()->GetFirstPlayerController()->GetCharacter());
|
||||||
MainCamera = Cast<UCameraComponent>(TempCharacterRef->FindComponentByClass<UCameraComponent>());
|
MainCamera = Cast<UCameraComponent>(TempCharacterRef->FindComponentByClass<UCameraComponent>());
|
||||||
//Item refs
|
//Item refs
|
||||||
|
Loading…
Reference in New Issue
Block a user