Method RemapEntityForPrefab
RemapEntityForPrefab(Entity*, Entity*, int, Entity)
Remaps the internal Entity references when instantiating a prefab.
Declaration
public static Entity RemapEntityForPrefab(Entity* remapSrc, Entity* remapDst, int remappingCount, Entity source)
Parameters
Type | Name | Description |
---|---|---|
Entity* | remapSrc | The source array of entity references. |
Entity* | remapDst | The array of target entities. |
int | remappingCount | The size of the source and target arrays. |
Entity | source | The source entity to remap. |
Returns
Type | Description |
---|---|
Entity | If the source Entity is found in the |