Esempio n. 1
0
void AAIController::PostInitializeComponents()
{
	Super::PostInitializeComponents();

	if (bWantsPlayerState && !IsPendingKill() && (GetNetMode() != NM_Client))
	{
		InitPlayerState();
	}
}
Esempio n. 2
0
void AAIController::PostInitializeComponents()
{
	Super::PostInitializeComponents();

	if (bWantsPlayerState && !IsPendingKill() && (GetNetMode() != NM_Client))
	{
		InitPlayerState();
	}

#if ENABLE_VISUAL_LOG
	TArray<UActorComponent*> ComponentSet;
	GetComponents(ComponentSet);
	for (auto Component : ComponentSet)
	{
		REDIRECT_OBJECT_TO_VLOG(Component, this);
	}
#endif // ENABLE_VISUAL_LOG
}