Fix PhysXDebug and PhysXEditor loading order (#14)

Co-authored-by: Ulugbek Adilbekov <ulugbek@amazon.com>
This commit is contained in:
Ulugbek Adilbekov
2021-04-12 14:16:01 +01:00
committed by GitHub
parent a92da4bcf5
commit aa0b54838c
@@ -213,6 +213,9 @@ namespace PhysXDebug
void SystemComponent::GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required)
{
required.push_back(AZ_CRC("PhysXService"));
#ifdef PHYSXDEBUG_GEM_EDITOR
required.push_back(AZ_CRC("PhysXEditorService"));
#endif // PHYSXDEBUG_GEM_EDITOR
}
void SystemComponent::GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent)