Hi All!Can you help me?
Code: BlackboardComp->SetValueAsObject(EnemyKeyID, InPawn);
Compile:
…\Private\EnemyAIController.cpp(196): warning C4996: ‘UBlackboardComponent::SetValueAsObject’: This function is deprecated. Please use SetValue() instead. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
…\Private\EnemyAIController.cpp(342): warning C4996: ‘UBlackboardComponent::GetValueAsObject’: This function is deprecated. Please use GetValue() instead. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
I corrected my code to:
SetValue<UBlackboardKeyType_Object>(EnemyKeyID, InPawn);
Compile:
‘SetValue’ : undeclared identifier
‘UBlackboardKeyType_Object’ : undeclared identifier
Can someone help?