I have a crosshair .png in my project, which is tied to a UI Image (which means it is tagged a 2D sprite). It is is a first person game so it is just stuck to the center. (Screenshot - 4a9d2d188d1208e2cc0a1f5f51d416e4 - Gyazo) Is there any simple method of making it’s colour change to an opposite one when it is hovering over something?
Example: The player looks towards a white stone–the crosshair changes to the opposite colour (in this case, black).
As easy as that. Thanks in advance