//攻击类型
FBlackboardEntry AttackType;
AttackType.EntryName = FName("AttackType");
UBlackboardKeyType_Enum* AttackTypeKeyType = NewObject<UBlackboardKeyType_Enum>();
AttackTypeKeyType->EnumType = FindObject<UEnum>(ANY_PACKAGE, *FString("EEnemyAttackType"), true);
AttackTypeKeyType->EnumName = FString("EEnemyAttackType");
AttackType.KeyType = AttackTypeKeyType;
//玩家指针
FBlackboardEntry PlayerPawn;
PlayerPawn.EntryName = FName("PlayerPawn");
UBlackboardKeyType_Object* PlayerPawnKeyType = NewObject<UBlackboardKeyType_Object>();
PlayerPawnKeyType->BaseClass = ASlAiPlayerCharacter::StaticClass();
PlayerPawn.KeyType = PlayerPawnKeyType;
Keys.Add(AttackType);
Keys.Add(PlayerPawn);