Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Questions regarding Input handling

Discussion in 'Editor & General Support' started by Affy, Aug 24, 2014.

  1. Affy

    Affy

    Joined:
    Aug 19, 2014
    Posts:
    13
    I'm fairly new to unity, and I'm working on a top-down RTS style game.

    How would I implement a good input handling system?

    The system must be able to handle mouse click events that land on the GUI first, if a button is clicked, the event is stopped. And no other gameobject receives the event.

    Does unity do this or do I need to implement this myself?