PrefabVariant beta
Interface of @v12-engine/editor
ts
export interface PrefabVariantWhat makes a prefab a variant of another: the source by its name, the fields it overrides and the parts it leaves out (by kind and the source's id of each)
Members
of
ts
of: string;The name of the prefab this one is a variant of
over
ts
over?: PrefabOverrides;Fields of the source's parts this variant sets apart
without
ts
without?: Partial<Record<string, number[]>>;The parts of the source this variant leaves out, by kind and the source's id