docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class VariantSets.Set<T, U>

    Holds the state of a switch that would be used for a configuration

    Inheritance
    object
    VariantSets.Set
    VariantSets.Set<T, U>
    VariantSets.MaterialSet
    VariantSets.TransformSet
    Inherited Members
    VariantSets.Set.type
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.PixyzPlugin4Unity.Components
    Assembly: Unity.Pixyz.Plugin4Unity.dll
    Syntax
    [Serializable]
    public class VariantSets.Set<T, U> : VariantSets.Set where T : VariantsManager.Switch<U>
    Type Parameters
    Name Description
    T

    The type of the switch that should be handle by this set

    U

    The type of variant (Transform/Material) handle by the switch

    Constructors

    Name Description
    Set(VariantsManager, string, string, string, List<T>)

    Construct Set

    Fields

    Name Description
    state

    The variant that need to be activated in the switch

    switchObject

    The switch that will be affected

    Methods

    Name Description
    select()

    Set the switch to the configuration state

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)