Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Effector2D

A base class for all 2D effectors.
Read time 6 minutesLast updated 2 days ago

Definition

public class Effector2D : Behaviour

Properties

Property

Description

colliderMaskThe mask used to select specific layers allowed to interact with the effector.
useColliderMaskShould 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.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.