docs.unity.cn
    Show / Hide Table of Contents

    Class MaterialSlotMatch

    Class MaterialSlotMatch.

    Inheritance
    Object
    MaterialSlotMatch
    Namespace: UnityEngine.Industrial.Configuring.Core
    Syntax
    [Serializable]
    public class MaterialSlotMatch

    Constructors

    MaterialSlotMatch(MaterialSlot)

    Initializes a new instance of the MaterialSlotMatch class.

    Declaration
    public MaterialSlotMatch(MaterialSlot materialSlot)
    Parameters
    Type Name Description
    MaterialSlot materialSlot

    The material slot.

    Methods

    Matches(GameObject)

    Matcheses the specified game object.

    Declaration
    public virtual MaterialSlot Matches(GameObject gameObject)
    Parameters
    Type Name Description
    GameObject gameObject

    The game object.

    Returns
    Type Description
    MaterialSlot

    MaterialSlot.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 03 March 2021