Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

ContactFilter2D.isFiltering

public bool isFiltering;

Description

Given the current state of the contact filter, determine whether it would filter anything.

This property checks the following properties and returns true, indicating filtering is enabled; useTriggers, useLayerMask, useDepth and useNormalAngle.