mirror of
https://github.com/Ed94/Cog.git
synced 2026-06-13 08:02:23 -07:00
Switch to unreal 5.3 (Fix warning)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user