UE 4純C++黒板Blackboardキー追加(メモ


	//    
	FBlackboardEntry AttackType;
	AttackType.EntryName = FName("AttackType");
	UBlackboardKeyType_Enum* AttackTypeKeyType = NewObject();
	AttackTypeKeyType->EnumType = FindObject(ANY_PACKAGE, *FString("EEnemyAttackType"), true);
	AttackTypeKeyType->EnumName = FString("EEnemyAttackType");
	AttackType.KeyType = AttackTypeKeyType;

	//    
	FBlackboardEntry PlayerPawn;
	PlayerPawn.EntryName = FName("PlayerPawn");
	UBlackboardKeyType_Object* PlayerPawnKeyType = NewObject();
	PlayerPawnKeyType->BaseClass = ASlAiPlayerCharacter::StaticClass();
	PlayerPawn.KeyType = PlayerPawnKeyType;


    Keys.Add(AttackType);
	Keys.Add(PlayerPawn);