Hi There!
I have created a C++ class derived from the NavLinkProxy.cpp and I cannot access the UNavLinkCustomComponent. I really want to get to the LinkRelativeStart and LinkRelativeEnd.
Line as follows:
UNavLinkCustomComponent* MySmartLinkComp = this->FindComponentByClass(UNavLinkCustomComponent)();
The braces around, UNavLinkCustomComponent are < >
The error I get is FindComponentByClass must be derived from UActorComponent.
As far as I can see here: UNavLinkCustomComponent | Unreal Engine Documentation
UNavLinkCustomComponent does derive from UActorComponent! Can anyone help?
Thanks!