Get rid of lxTangibleInterface

This commit is contained in:
2024-09-24 22:56:49 -04:00
parent a295ff5e53
commit 1f1f383da0
7 changed files with 36 additions and 41 deletions

View File

@@ -114,7 +114,11 @@ void UlxTangible::MaybeExecuteAnimStateChanged() {
FString blueprint = AnimTracker.GetCurrentBlueprintName();
if (blueprint.IsEmpty()) blueprint = DEFAULT_BLUEPRINT;
SetActorBlueprint(blueprint);
IlxTangibleInterface::Execute_AnimationQueueChanged(GetActor());
AActor *actor = GetActor();
UFunction *aqchanged = UlxTangibleManager::GetAnimationQueueChanged(actor->GetClass());
if (aqchanged != nullptr) {
actor->ProcessEvent(aqchanged, nullptr);
}
}
}