Physics.GetIgnoreCollision

Cambiar al Manual
public static bool GetIgnoreCollision (Collider collider1, Collider collider2);

Parámetros

collider1The first collider to compare to collider2.
collider2The second collider to compare to collider1.

Valor de retorno

bool Whether the collision detection system will ignore all collisions/triggers between collider1 and collider2 or not.

Descripción

Checks whether the collision detection system will ignore all collisions/triggers between collider1 and collider2 or not.