Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


EffectorSelection2D

Selects the source and/or target to be used by an Effector2D.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public enum EffectorSelection2D

Fields

Value

Description

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