Class ValidateQueryIdsMergeBehavior
Ensures that all query ids on the product's variant table are valid. Updates the product's settings prefab with the correct ids if needed.
Namespace: Unity.Industrial.Forma.Core.MeshMerge
Syntax
public class ValidateQueryIdsMergeBehavior : IMergeBehavior
Remarks
This behavior should be removed once the ids are fixed in a more suitable place. Fixing the variant table target query ids should be done in the product importer or the product class itself.
Methods
PostMerge(MergedModel)
Declaration
public void PostMerge(MergedModel mergedModel)
Parameters
| Type | Name | Description |
|---|---|---|
| MergedModel | mergedModel |
Implements
PreMerge(MergedModel, Transform)
Declaration
public void PreMerge(MergedModel mergedModel, Transform originalRoot)
Parameters
| Type | Name | Description |
|---|---|---|
| MergedModel | mergedModel | |
| Transform | originalRoot |