Class VariantTableLookup
Traverses the variant table only once and indexes it. This allows you to inspect many things about it relatively quickly afterwards without having to re-traverse many hierarchies multiple times over.
Namespace: UnityEngine.Industrial.Configuring.Core.VariantTableExtensions
Syntax
public class VariantTableLookup
Constructors
VariantTableLookup(VariantTable)
Initializes a new instance of the VariantTableLookup class.
Declaration
public VariantTableLookup(VariantTable variantTable)
Parameters
Type | Name | Description |
---|---|---|
VariantTable | variantTable | The variant table. |
Fields
PackSets
The pack sets
Declaration
public List<PackSet> PackSets
Field Value
Type | Description |
---|---|
List<PackSet> |
PacksForPack
The packs for pack
Declaration
public Dictionary<Pack, List<Pack>> PacksForPack
Field Value
Type | Description |
---|---|
Dictionary<Pack, List<Pack>> |
PacksForPackSet
The packs for pack set
Declaration
public Dictionary<PackSet, List<Pack>> PacksForPackSet
Field Value
Type | Description |
---|---|
Dictionary<PackSet, List<Pack>> |
ParentsForPack
The parents for pack
Declaration
public Dictionary<Pack, List<Pack>> ParentsForPack
Field Value
Type | Description |
---|---|
Dictionary<Pack, List<Pack>> |
VariantsForPack
The variants for pack
Declaration
public Dictionary<Pack, List<Variant>> VariantsForPack
Field Value
Type | Description |
---|---|
Dictionary<Pack, List<Variant>> |
Properties
Packs
Gets the packs.
Declaration
public IEnumerable<Pack> Packs { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Pack> | The packs. |