Editar

Partilhar via


LayerExtensions.Combine(LayerMask[]) Method

Definition

Combines provided layers into a single layer mask.

public:
[System::Runtime::CompilerServices::Extension]
 static int Combine(cli::array <UnityEngine::LayerMask> ^ layerMaskList);
public static int Combine (this UnityEngine.LayerMask[] layerMaskList);
static member Combine : UnityEngine.LayerMask[] -> int
<Extension()>
Public Function Combine (layerMaskList As LayerMask()) As Integer

Parameters

layerMaskList
UnityEngine.LayerMask[]

Returns

The combined layer mask

Applies to