Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

My code is not working

I'm trying to make a switch in unity that opens a gate when you click on it however nothing happens when I click on the switch even tho it worked with other switches so what could be the reason that the switch is not working? I have changed the code and programmed it to do something else but still nothing happens.

Best Answer

  • Accepted Answer

    It was actually a problem with my mesh coz I chose the mesh itself and not the clickable object in it so now my problem is fixed.

Answers

  • HNJHNJ Member

    There maybe a fault somewhere. We cannot say without looking at the relevant scripts.

  • If we can see the code we may be able to find the problem

Sign In or Register to comment.