docs.unity3d.com
    Show / Hide Table of Contents

    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.

    Inheritance
    Object
    VariantTableLookup
    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.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023