Class MaterialSlotMatch
Class 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. |