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

Method CallBeginPlay

Source/Engine/Level/Level.cpp:483–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

481}
482
483void Level::CallBeginPlay(Actor* obj)
484{
485 if (obj && !obj->IsDuringPlay())
486 {
487 SceneBeginData beginData;
488 obj->BeginPlay(&beginData);
489 beginData.OnDone();
490 }
491}
492
493void Level::DrawActors(RenderContextBatch& renderContextBatch, byte category)
494{

Callers

nothing calls this directly

Calls 2

OnDoneMethod · 0.80
BeginPlayMethod · 0.45

Tested by

no test coverage detected