| 189 | } |
| 190 | |
| 191 | void 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 | } |
nothing calls this directly
no test coverage detected