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

Function LinkPrefabRecursive

Source/Engine/Level/Actor.cpp:105–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103 }
104
105 void LinkPrefabRecursive(Actor* actor, Prefab* linkPrefab)
106 {
107 for (auto script : actor->Scripts)
108 LinkPrefab(script, linkPrefab);
109 for (auto child : actor->Children)
110 LinkPrefab(child, linkPrefab);
111 }
112}
113
114Actor::Actor(const SpawnParams& params)

Callers 1

FromBytesMethod · 0.85

Calls 1

LinkPrefabFunction · 0.85

Tested by

no test coverage detected