Effector2D
A base class for all 2D effectors.
Read time 6 minutesLast updated 2 days ago
Definition
- Type: Class
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
- Inherits from: Behaviour
public class Effector2D : Behaviour
Properties
Property | Description |
|---|---|
| colliderMask | The mask used to select specific layers allowed to interact with the effector. |
| useColliderMask | Should the collider-mask be used or the global collision matrix? |
Inheritance
Inherited Members
Operators
Operator | Description |
|---|---|
| operator == | Compares two object references to see if they refer to the same object. |
| bool | Determines whether the object exists. |
| operator != | Compares if two objects refer to a different object. |