Skip to content

nestedPartId beta ​

Function of @v12-engine/engine

ts
export declare function nestedPartId(nested: number, id: number): number;

The id a part of a prefab inside another has in the outer one's copy, as the editor and prefabsFrom number it: made from the inner prefab's id there and the part's id in it (itself one of these, a level down), the same each time it is read; below zero, where a prefab's own parts (the map's ids they had) never are