/
V2020.1.56.3_ Proximity Sensor

V2020.1.56.3_ Proximity Sensor



Overview

A ProximitySensor is a component that can detect objects in a specified detection field. At least one trigger collider needs to be assigned to function as the detection field for the ProximitySensor.

A Trigger Collider does not have to be on the same GameObject as the ProximitySensor


Where to find

The Proximity Sensor can be found under Standard Components >Proximity Sensor > Add Physical component.

This will add the Proximity Sensor component to the currently selected object or create a new empty GameObject with the component attached if no objects are selected.

The following inspector component will be shown:


Feature layout