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

Method DeleteObject

Source/Engine/Core/ObjectsRemovalService.cpp:171–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171void Object::DeleteObject(float timeToLive, bool useGameTime)
172{
173 // Add to deferred remove (or just update timeout but don't remove object here)
174 ObjectsRemovalService::Add(this, timeToLive, useGameTime);
175}

Callers 15

DeleteNetworkObjectFunction · 0.80
SpawnMethod · 0.80
SpawnMethod · 0.80
TestPrefabs.cppFile · 0.80
UpdateMethod · 0.80
DisposeMethod · 0.80
unloadMethod · 0.80
ClearNavigationFunction · 0.80
UpdateMethod · 0.80
OnEndMethod · 0.80
TickMethod · 0.80

Calls 1

AddFunction · 0.50

Tested by

no test coverage detected