Bearbeiten

Freigeben über


LayerExtensions.ToMask(Int32) Method

Definition

Transform layer id to LayerMask

public:
 static UnityEngine::LayerMask ToMask(int layerId);
public static UnityEngine.LayerMask ToMask (int layerId);
static member ToMask : int -> UnityEngine.LayerMask
Public Function ToMask (layerId As Integer) As LayerMask

Parameters

layerId
Int32

Returns

UnityEngine.LayerMask

Applies to