Version: 5.4
Removed
PlatformEffector2D.oneWay has been deprecated. Use PlatformEffector2D.useOneWay instead (UnityUpgradable) -> useOneWay

PlatformEffector2D.oneWay

Cambiar al Manual
public bool oneWay ;

Descripción

Si o no, utilizar un comportamiento de una colisión de un solo lado.

Various behaviour associated with 2D platforms are provided by this effector such as allowing colliders to pass-through the effector colliders in one-direction (one-way) as well as controller whether friction or bounce should be applied.