LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

EffectorSelection2D

enumeration

Description

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

Properties

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