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.

EffectorForceMode2D

enumeration

Description

The mode used to apply Effector2D forces.

Properties

ConstantThe force is applied at a constant rate.
InverseLinearThe force is applied inverse-linear relative to a point.
InverseSquaredThe force is applied inverse-squared relative to a point.