Fix: AnimAudioComponentRequestBus canvas script function failure (#6658)

Signed-off-by: T.J. McGrath-Daly <tj.mcgrath.daly@huawei.com>

Co-authored-by: Tobias Alexander Franke <tobias.alexander.franke@huawei.com>
This commit is contained in:
tjmgd
2022-01-12 13:42:12 +00:00
committed by GitHub
parent acec79fe2e
commit f51c845cbb
@@ -405,6 +405,7 @@ namespace EMotionFX
ActorNotificationBus::Handler::BusConnect(GetEntityId());
AnimAudioComponentNotificationBus::Handler::BusConnect(GetEntityId());
AnimAudioComponentRequestBus::Handler::BusConnect(GetEntityId());
}
void AnimAudioComponent::Deactivate()
@@ -421,6 +422,7 @@ namespace EMotionFX
ActorNotificationBus::Handler::BusDisconnect(GetEntityId());
AnimAudioComponentNotificationBus::Handler::BusDisconnect(GetEntityId());
AnimAudioComponentRequestBus::Handler::BusDisconnect(GetEntityId());
}
void AnimAudioComponent::OnTick(float deltaTime, AZ::ScriptTimePoint time)