Physics2D.GetIgnoreLayerCollision

Cambiar al Manual
public static bool GetIgnoreLayerCollision (int layer1, int layer2);

Parámetros

layer1ID of first layer.
layer2ID of second layer.

Valor de retorno

bool Whether collisions between the specified layers be ignored or not.

Descripción

Checks whether collisions between the specified layers be ignored or not.