Switch to unreal 5.3 (Fix warning)

This commit is contained in:
Arnaud Jamin
2024-02-27 23:07:09 -05:00
parent 7543b49ef7
commit 14ca7e035e
15 changed files with 32 additions and 18 deletions
@@ -490,3 +490,15 @@ void UCogSampleFunctionLibrary_Gameplay::MakeOutgoingSpecs(
}
}
}
//--------------------------------------------------------------------------------------------------------------------------
const UGameplayEffectComponent* UCogSampleFunctionLibrary_Gameplay::GetEffectComponent(const UGameplayEffect* Effect, TSubclassOf<UGameplayEffectComponent> ClassToFind)
{
if (Effect == nullptr)
{
return nullptr;
}
const UGameplayEffectComponent* EffectComponent = Effect->FindComponent(ClassToFind);
return EffectComponent;
}