I want my linked anim layer to have a reference to the main anim instance where they are called from initially.
I could only find a variable “bCreatedByLinkedAnimGraph” which only helps to know a anim instance has been linked, but I also need to know about the actual host anim graph
It actually did the trick I wanted
void UGSLinkedAnimInstance::NativeInitializeAnimation()
{
if (bCreatedByLinkedAnimGraph)
{
GEngine->AddOnScreenDebugMessage(1, 2.0f, FColor::Black, GetSkelMeshComponent()->GetAnimInstance()->GetFName().ToString());}
}