Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Collider2D.usedByEffector

public bool usedByEffector;

Description

Whether the collider is used by an attached effector or not.

When checked, the Collider2D continues to work as a collision or trigger area however it will also be used by any Effector2D on the same GameObject.