기술 자료

Unity Engine

Unity Engine

GetIgnoreLayerCollision(int, int)

Are collisions between layer1 and layer2 being ignored?
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public static bool GetIgnoreLayerCollision(int layer1, int layer2)

Parameters

layer1


layer2

Returns

Type

Description

bool

Remarks

Returns the value set by Physics.IgnoreLayerCollision or in the Physics inspector.