Version: 2017.3
public static bool GetIgnoreLayerCollision (int layer1, int layer2);

パラメーター

layer1 1 つめのレイヤー ID
layer2 2 つめのレイヤー ID

戻り値

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

説明

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

関連項目: IgnoreLayerCollision.