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

Method EndPlay

Source/Engine/Terrain/Terrain.cpp:978–991  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

976}
977
978void Terrain::EndPlay()
979{
980 for (int32 pathIndex = 0; pathIndex < _patches.Count(); pathIndex++)
981 {
982 const auto patch = _patches[pathIndex];
983 if (patch->HasCollision())
984 {
985 patch->DestroyCollision();
986 }
987 }
988
989 // Base
990 Actor::EndPlay();
991}

Callers

nothing calls this directly

Calls 2

DestroyCollisionMethod · 0.80
CountMethod · 0.45

Tested by

no test coverage detected