Choosing with mouse

How can we make choices by clicking on the screen with the mouse?

Hi Batuhan,

There would be several ways, you could use the OnMouseDown method within a script attached to the specific GameObject you want to click, or, if you have created buttons for example, you could set their On Click event handlers, pointing to a public method within a script attached to a GameObject in the scene.

Hope this helps :slight_smile:

Hi Rob,

Thanks for advice, i will work on it :slight_smile:

1 Like

You’re very welcome. Let us know how you get on :slight_smile:

Privacy & Terms