Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Color Sensor is a component that can be used to detect colors directly in front of it within a certain range.

Info

NOTE: The Output Signal of the sensor is the perceived color by the sensor. Keep in mind that the scene lighting is of great influence on the measured value.

...

A Color Sensor detecting colors of the objects in its field of view

...

  1. Assign a Color Sensor physical component to a GameObject, or create a new one directly from the menu

  2. Select the desired settings under the Properties tab

  3. In Play Mode, the color of detected objects will be displayed in the Output Signal field

Info

NOTE: The Output Signal of the sensor is the perceived color by the sensor. Keep in mind that the scene lighting is of great influence on the measured value.