...
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
...
Assign a Color Sensor physical component to a GameObject, or create a new one directly from the menu
Select the desired settings under the Properties tab
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. |