Morning,
I have this code fragment from the building escape project where we are adding a component to the door. I am a little confused as to how we are calling these methods. At first I was thinking that this is some sort of shorthand for calling methods in the same class, but they’re not in the same class. Am I right just on the short hand part though?
Brain hurts.
Great course.
// Called when the game starts
void UPositionReport::BeginPlay()
{
Super::BeginPlay();
FString ObjectPos = GetOwner()->GetTransform().GetLocation().ToString();
FString ObjectName = GetOwner()->GetName();
UE_LOG(LogTemp, Warning, TEXT("PositionReport reporting for %s is at %s"), *ObjectName, *ObjectPos);
}