Version: 2017.1

Physics2D.GetIgnoreLayerCollision

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

Parámetros

layer1 ID of first layer.
layer2 ID 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.