Legacy Documentation: Version 5.4
LanguageEnglish
  • C#
  • JS

Script language

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

EffectorSelection2D

enumeration

Description

Selects the source and/or target to be used by an Effector2D.

Variables

RigidbodyThe source/target is defined by the Rigidbody2D.
ColliderThe source/target is defined by the Collider2D.