OwnedBy
OwnedBy(
props):Element
Spawns each <Entity> and <Npc> under it owned by entity, as
spawn(step, prefab, { owner }) does, so findOwner reads entity
for each. Each keeps its scene place in a game played alone too, so a
copy spawnPacked puts at that place is taken up by the same
component. <Match> renders its children in one, so a court’s net and
ball belong to its match.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
props |
OwnedByProps |
Returns
Section titled “Returns”Element