MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Initialize

Method Initialize

Source/Engine/Navigation/NavMesh.cpp:191–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191void NavMesh::Initialize()
192{
193 // Base
194 Actor::Initialize();
195
196 if (!_navMeshActive && IsActiveInHierarchy())
197 {
198 GetScene()->Navigation.Meshes.Add(this);
199 AddTiles();
200 _navMeshActive = true;
201 }
202}

Callers

nothing calls this directly

Calls 4

IsActiveInHierarchyFunction · 0.85
GetSceneFunction · 0.85
InitializeFunction · 0.50
AddMethod · 0.45

Tested by

no test coverage detected