Пример #1
0
UCrowdManager* UCrowdManager::GetCurrent(UWorld* World)
{
	UNavigationSystem* NavSys = UNavigationSystem::GetCurrent(World);
	return NavSys ? NavSys->GetCrowdManager() : NULL;
}
Пример #2
0
UCrowdManager* UCrowdManager::GetCurrent(UObject* WorldContextObject)
{
	UNavigationSystem* NavSys = UNavigationSystem::GetCurrent(WorldContextObject);
	return NavSys ? NavSys->GetCrowdManager() : NULL;
}