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

Method InitNewObjects

Source/Engine/Level/SceneObjectsFactory.cpp:439–446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

437}
438
439void SceneObjectsFactory::PrefabSyncData::InitNewObjects()
440{
441 for (int32 i = 0; i < NewObjects.Count(); i++)
442 {
443 SceneObject* obj = SceneObjects[InitialCount + i];
444 obj->Initialize();
445 }
446}
447
448void SceneObjectsFactory::SetupPrefabInstances(Context& context, const PrefabSyncData& data)
449{

Callers 1

OnInitializeMethod · 0.80

Calls 2

CountMethod · 0.45
InitializeMethod · 0.45

Tested by

no test coverage detected