18 lines
582 B
C++
18 lines
582 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "MassNavMeshNavigationTrait.h"
|
|
|
|
#include "MassEntityTemplateRegistry.h"
|
|
#include "MassNavigationFragments.h"
|
|
#include "MassNavMeshNavigationFragments.h"
|
|
|
|
void UMassNavMeshNavigationTrait::BuildTemplate(FMassEntityTemplateBuildContext& BuildContext, const UWorld& World) const
|
|
{
|
|
BuildContext.RequireFragment<FMassMoveTargetFragment>();
|
|
|
|
BuildContext.AddFragment<FMassNavMeshCachedPathFragment>();
|
|
BuildContext.AddFragment<FMassNavMeshShortPathFragment>();
|
|
|
|
BuildContext.AddFragment<FMassNavMeshBoundaryFragment>();
|
|
}
|