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

Method OnDisable

Source/Engine/Navigation/NavMesh.cpp:178–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178void NavMesh::OnDisable()
179{
180 if (_navMeshActive)
181 {
182 RemoveTiles();
183 GetScene()->Navigation.Meshes.Remove(this);
184 _navMeshActive = false;
185 }
186
187 // Base
188 Actor::OnDisable();
189}
190
191void NavMesh::Initialize()
192{

Callers

nothing calls this directly

Calls 3

GetSceneFunction · 0.85
OnDisableFunction · 0.50
RemoveMethod · 0.45

Tested by

no test coverage detected