기술 자료

Unity Engine

Unity Engine

SetLayerMask(LayerMask)

A helper method that simultaneously sets both the Rigidbody2D.SlideMovement.layerMask to the specified mask but also sets Rigidbody2D.SlideMovement.useLayerMask to true.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public void SetLayerMask(LayerMask mask)

Parameters

The layer mask to use.

Remarks