Search Unity

Prevent event propagation in GUI.TextField

Discussion in 'Immediate Mode GUI (IMGUI)' started by activate_mc, Jul 5, 2011.

  1. activate_mc

    activate_mc

    Joined:
    Jun 1, 2011
    Posts:
    9
    Anyone knows how to prevent the mouse event from propagating when I click on the text field? My issue is because my third person controller script is also responding to mouse click and it will cause the playing character to move when I access the text field overlay. Thanks.