Language

nothing happens after i tap on the object

Ok,

I have a sphere that has a transparent texture. there is a cube with a tag inside that sphere. i have scripts that cast a ray and detect if the ray hit any object with valid tag and also detects taps/clicks.

my problem is that when i tap on the cube nothing happens, in the code (working for sure) i have two things , if the reticle get over the cube it should rotate, and if i clicked/tapped on it it should change scenes. the codes are working because i tried them in other projects.

Yet, if i use UI buttons for example inside the sphere, i can click on them, highlight them etc...